MediumVioletRed color

Inspect MediumVioletRed (#C71585) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.

#c71585

MediumVioletRed

MediumVioletRed color values

MediumVioletRed

#C71585

White text reads best on this background, at 5.42:1.

MediumVioletRed is one of the 148 CSS named colors, and resolves to #C71585 in every browser. In numbers that is rgb(199, 21, 133) and hsl(322, 81%, 43%). Perceptually it is a mid-toned, vivid color: OKLCH puts its lightness at 55% and its chroma at 0.222. It sits in the pinks at 350 degrees of OKLCH hue, and reads as a cool color.

White text clears WCAG AA on a MediumVioletRed background at 5.42:1. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.

The closest CSS named colors to MediumVioletRed, measured with CIEDE2000, are DeepPink (#FF1493), DarkMagenta (#8B008B), Purple (#800080). If MediumVioletRed is not quite right, those are the nearest keywords to try before reaching for a custom value.

HEX

#C71585

RGB

rgb(199, 21, 133)

HSL

hsl(322, 81%, 43%)

HWB

hwb(322 8% 22%)

CMYK

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

LAB

lab(45.17 69.57 -14.07)

LCH

lch(45.17 70.97 348.57)

OKLCH

oklch(55.34% 0.2217 349.69)

Is MediumVioletRed accessible?

WCAG asks for 4.5:1 between body text and its background. On #C71585 white text measures 5.42:1 and black text 3.87:1, so white clears it and black does not.

White text on MediumVioletRed

WCAG 2.2

5.42:1

APCA

Lc 80

Passes AA body text

Fails AAA body text

Passes AA large text

Black text on MediumVioletRed

WCAG 2.2

3.87:1

APCA

Lc 29

Fails AA body text

Fails AAA body text

Passes AA large text

Check MediumVioletRed against any other color in the contrast checker.

Tints and shades of MediumVioletRed

MediumVioletRed sits at 55% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF5F9 and down to #120008, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.

Tints, toward white

#E63D9F

20% lighter

#FF64B8

40% lighter

#FF9DCD

60% lighter

#FFCBE3

80% lighter

#FFF5F9

100% lighter

Shades, toward black

#A10069

20% darker

#79004E

40% darker

#540035

60% darker

#31001D

80% darker

#120008

100% darker

Build a full accessible scale from #C71585 in the shade generator.

Colors that go with MediumVioletRed

Hues rotated around #C71585 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.

Complementary

MediumVioletRed sits at 350 degrees. Rotating it a half turn lands on 170 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.

Analogous

The neighbors of MediumVioletRed at 320 and 20 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.

Triadic

350, 110 and 230 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.

Split complementary

Instead of the complement at 170 degrees, this pair flanks it at 140 and 200. You keep most of the contrast of a complementary pairing while losing the harshness.

Explore more combinations around MediumVioletRed on the color wheel.

How MediumVioletRed looks with color blindness

The biggest shift is under protanopia, where #C71585 reads as #19348A, 32.7 CIEDE2000 units away. If MediumVioletRed is the only thing marking a state or a series, roughly one viewer in twelve will miss it.

Protanopia

#19348A

Deuteranopia

#3D4C7F

Tritanopia

#E01838

Achromatopsia

#434343

Colors similar to MediumVioletRed

The nearest CSS keywords to #C71585, ranked by perceptual distance rather than by how close their hex digits happen to look.