#871E42#871E42
#871E42 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 5.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #871E42 |
|---|---|
| RGB | rgb(135, 30, 66) |
| HSL | hsl(339, 64%, 32%) |
| HSV | hsv(339, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.58, 46.10, 5.05) |
| CIE-LCH | lch(30.58, 46.38, 6.26°) |
| OKLab | oklab(41.99% 0.1409 0.0133) |
| OKLCH | oklch(41.99% 0.142 5.4) |
| XYZ | xyz(11.4403, 6.4744, 5.8005) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.70
Berry
#990F4B
ΔE00 3.74
Wine (survey)
#80013F
ΔE00 3.92
Red Wine
#8C0034
ΔE00 4.24
Mulberry
#920A4E
ΔE00 4.33
Red Purple
#820747
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E42 #1E8763
analogous
#871E76 #871E42 #872F1E
triadic
#871E42 #42871E #1E4287
tetradic
#871E42 #76871E #1E8763 #2F1E87
square
#871E42 #76871E #1E8763 #2F1E87
split-complementary
#871E42 #1E872F #1E7687
monochromatic
#230811 #55132A #871E42 #B9295A #D74979
Accessibility & contrast
On white
9.15
#871E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#871E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E42
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E42 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#544F3F
Tritanopia (blue-blind)
#93042D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871e42; /* rgb */ color: rgb(135, 30, 66); /* oklch */ color: oklch(42.0% 0.142 5.4);
Tailwind
colors: {
custom: {
50: '#af6476',
500: '#871e42',
950: '#000000',
},
}SCSS
$custom: #871e42; $custom-light: #af6476; $custom-dark: #000000;
JSON
{
"hex": "#871e42",
"rgb": {
"r": 135,
"g": 30,
"b": 66
},
"hsl": {
"h": 339.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.41991,
"c": 0.14153,
"h": 5.4
},
"luminance": 0.06473
}Semantic roles & 50–950 ramp
primary
#871E42
secondary
#48B992
accent
#E7AE41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B