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.
- It is the CSS named color mediumvioletred, so you can write
color: mediumvioletredinstead of the hex code.
Color conversions
| HEX | #C71585 |
|---|---|
| RGB | rgb(199, 21, 133) |
| RGB percent | rgb(78%, 8.2%, 52.2%) |
| HSL | hsl(322, 81%, 43%) |
| HSV / HSB | hsv(322, 89%, 78%) |
| CMYK | cmyk(0%, 89%, 33%, 22%) |
| CIELAB (D65) | lab(44.8 71 -15.2) |
| Decimal | 13047173 |
| Binary | 11000111 00010101 10000101 |
HEX C7 15 85 → 199, 21, 133 (each pair is a base-16 number: C×16 + 7 = 199)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #C71585 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 5.42:1 | Pass | Pass | Fail | Pass |
| Black text | 3.87:1 | Fail | Pass | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumvioletred | #c71585 | 0 |
| deeppink | #ff1493 | 12.2 |
| darkmagenta | #8b008b | 14.4 |
| purple | #800080 | 16 |
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; }