Skip to content
PantoneTools
pink
CSS Named Colors

Mediumvioletred

mediumvioletred · #C71585

HEX

#C71585

RGB

rgb(199, 21, 133)

CMYK

cmyk(0%, 89%, 33%, 22%)

HSL

hsl(322, 81%, 43%)

LAB

lab(44.8, 71.0, -15.2)

What is Mediumvioletred?

Mediumvioletred is the mediumvioletred reference in the CSS Named Colors. Its sRGB value is #C71585 (rgb 199, 21, 133). It sits in the pink family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Mediumvioletred as a background.

Black text on this color

Sample text · 3.87 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 5.42 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Mediumvioletred

An 11-step tonal scale derived from Mediumvioletred (#C71585). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FBECF5

50

#FBECF5

#FBECF5

Copied #F6DAEB

100

#F6DAEB

#F6DAEB

Copied #EDB4D8

200

#EDB4D8

#EDB4D8

Copied #E38AC2

300

#E38AC2

#E38AC2

Copied #D550A4

400

#D550A4

#D550A4

Copied #C71585

500

#C71585

#C71585

Copied #A91271

600

#A91271

#A91271

Copied #810E56

700

#810E56

#810E56

Copied #5A093C

800

#5A093C

#5A093C

Copied #320521

900

#320521

#320521

Copied #180310

950

#180310

#180310

Lighter tints (mixed with white)

Copied #D16EA0

15%

#D16EA0

Copied #DA96B5

30%

#DA96B5

Copied #E2B4C8

45%

#E2B4C8

Copied #EBCCD9

60%

#EBCCD9

Copied #F3E1E8

75%

#F3E1E8

Darker shades (mixed with black)

Copied #B9137B

15%

#B9137B

Copied #AA1071

30%

#AA1071

Copied #980D65

45%

#980D65

Copied #830A56

60%

#830A56

Copied #6A0644

75%

#6A0644

Color harmonies for Mediumvioletred

Classic color-theory harmonies derived from rotating the hue of Mediumvioletred. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #C71585

#C71585

#C71585

Copied #15C656

#15C656

#15C656

Triadic

Three colors 120° apart

Copied #C71585

#C71585

#C71585

Copied #85C615

#85C615

#85C615

Copied #1585C6

#1585C6

#1585C6

Analogous

Two neighbors ±30° on the wheel

Copied #AF15C6

#AF15C6

#AF15C6

Copied #C71585

#C71585

#C71585

Copied #C6152D

#C6152D

#C6152D

Split-complementary

Base + two colors flanking its complement

Copied #C71585

#C71585

#C71585

Copied #2DC615

#2DC615

#2DC615

Copied #15C6AF

#15C6AF

#15C6AF

Tetradic

Two complementary pairs

Copied #C71585

#C71585

#C71585

Copied #C65615

#C65615

#C65615

Copied #15C656

#15C656

#15C656

Copied #1585C6

#1585C6

#1585C6

Square

Four colors evenly spaced 90° apart

Copied #C71585

#C71585

#C71585

Copied #C6AF15

#C6AF15

#C6AF15

Copied #15C656

#15C656

#15C656

Copied #152DC6

#152DC6

#152DC6

Mediumvioletred in every color space

Full conversion of Mediumvioletred across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#C71585

RGB

rgb(199, 21, 133)

CMYK

cmyk(0%, 89%, 33%, 22%)

HSL

hsl(322, 81%, 43%)

HSV

hsv(322, 89%, 78%)

HWB

hwb(322 8% 22%)

CIE Lab

lab(44.8 71.0 -15.2)

OKLCH

oklch(55.3% 0.222 349.7)

XYZ (D65)

xyz(28.06, 14.38, 23.48)

Copy-ready code for Mediumvioletred

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #C71585;
background-color: #C71585;

CSS variable

:root {
  --color-mediumvioletred: #C71585;
}

Tailwind config

// tailwind.config.js
colors: {
  'mediumvioletred': '#C71585',
}

Sass

$color-mediumvioletred: #C71585;

Swift UIColor

UIColor(red: 0.780, green: 0.082, blue: 0.522, alpha: 1.0)

Android XML

<color name="mediumvioletred">#C71585</color>

Closest match in every color system

The nearest Mediumvioletred equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #A03472

RAL 4006

#A03472

Traffic purple

Copied #924E7D

RAL 4008

#924E7D

Signal violet

Copied #DE4C8A

RAL 4003

#DE4C8A

Heather violet

Copied #922B3E

RAL 4002

#922B3E

Red violet

Copied #6D3F5B

RAL 4001

#6D3F5B

Red lilac

Copied #6C4675

RAL 4005

#6C4675

Blue lilac

FAQ about Mediumvioletred

What is the HEX code for Mediumvioletred?

Mediumvioletred (mediumvioletred) has the HEX code #C71585. In RGB it is rgb(199, 21, 133), and in CMYK it is cmyk(0%, 89%, 33%, 22%).

What is the OKLCH value of Mediumvioletred?

Mediumvioletred converts to oklch(0.553 0.222 349.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Mediumvioletred accessible for body text?

Used as a background, Mediumvioletred has a contrast ratio of 3.87:1 with black text and 5.42:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Mediumvioletred?

The closest Pantone reference to Mediumvioletred by ΔE2000 perceptual distance is Pantone 233 C (#C70075). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Mediumvioletred?

The closest RAL Classic reference to Mediumvioletred by ΔE2000 distance is RAL 4006 (Traffic purple, #A03472). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Mediumvioletred?

The complementary color (180° opposite on the HSL color wheel) of Mediumvioletred is #15C656. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
pink

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Mediumvioletred — #C71585 | PantoneTools