#C71585 color (mediumvioletred)

#C71585 is rgb(199, 21, 133) in RGB and hsl(322, 81%, 43%) in HSL. It is exactly the CSS color mediumvioletred. Use white text on it (contrast 5.42:1).

#C71585mediumvioletred
HEX#C71585
RGBrgb(199, 21, 133)
RGB percentrgb(78%, 8.2%, 52.2%)
HSLhsl(322, 81%, 43%)
HSV / HSBhsv(322, 89%, 78%)
CMYKcmyk(0%, 89%, 33%, 22%)
CIELAB (D65)lab(44.8 71 -15.2)

Edit in the color converter → · Check contrast → · Shades →

About #C71585

#C71585 is a medium, vivid pink with a hue angle of 322°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 199 (78%) and green the weakest at 21 (8%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#C71585
RGBrgb(199, 21, 133)
RGB percentrgb(78%, 8.2%, 52.2%)
HSLhsl(322, 81%, 43%)
HSV / HSBhsv(322, 89%, 78%)
CMYKcmyk(0%, 89%, 33%, 22%)
CIELAB (D65)lab(44.8 71 -15.2)
Decimal13047173
Binary11000111 00010101 10000101

HEX C7 15 85 → 199, 21, 133 (each pair is a base-16 number: C×16 + 7 = 199)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #C71585

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #C71585RatioAA normalAA largeAAA normalAAA large
White text5.42:1PassPassFailPass
Black text3.87:1FailPassFailFail
White text on #C71585
Black text on #C71585
#C71585 text on white
#C71585 text on black

Relative luminance is 0.1437 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#3d5787

Deuteranopia
#707481

Tritanopia
#d6004f

Achromatopsia
#6a6a6a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 28.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumvioletred#c715850
deeppink#ff149312.2
darkmagenta#8b008b14.4
purple#80008016

CSS

.element {
  color: #c71585;
  background-color: rgb(199, 21, 133);
  border: 1px solid hsl(322, 81%, 43%);
  box-shadow: 0 2px 8px rgb(199 21 133 / 50%);
}
:root { --brand: #c71585; }

Frequently asked questions

What color is #C71585?
A medium vivid pink in the pink & magenta family. Closest CSS name: mediumvioletred.
What is #C71585 in RGB?
rgb(199, 21, 133): red 199, green 21, blue 133.
What is the complementary color of #C71585?
#15C757, found by rotating the hue 180°.