#871C42#871C42
#871C42 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 5.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #871C42 |
|---|---|
| RGB | rgb(135, 28, 66) |
| HSL | hsl(339, 66%, 32%) |
| HSV | hsv(339, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.34, 46.77, 4.72) |
| CIE-LCH | lch(30.34, 47.00, 5.76°) |
| OKLab | oklab(41.82% 0.143 0.0125) |
| OKLCH | oklch(41.82% 0.144 5) |
| XYZ | xyz(11.3913, 6.3763, 5.7841) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.56
Wine (survey)
#80013F
ΔE00 3.60
Berry
#990F4B
ΔE00 3.62
Mulberry
#920A4E
ΔE00 4.08
Red Wine
#8C0034
ΔE00 4.26
Red Purple
#820747
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C42 #1C8761
analogous
#871C77 #871C42 #872C1C
triadic
#871C42 #42871C #1C4287
tetradic
#871C42 #77871C #1C8761 #2C1C87
square
#871C42 #77871C #1C8761 #2C1C87
split-complementary
#871C42 #1C872C #1C7787
monochromatic
#220710 #541129 #871C42 #BA275B #D84579
Accessibility & contrast
On white
9.23
#871C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C42
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C42 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871c42; /* rgb */ color: rgb(135, 28, 66); /* oklch */ color: oklch(41.8% 0.144 5.0);
Tailwind
colors: {
custom: {
50: '#af6476',
500: '#871c42',
950: '#000000',
},
}SCSS
$custom: #871c42; $custom-light: #af6476; $custom-dark: #000000;
JSON
{
"hex": "#871c42",
"rgb": {
"r": 135,
"g": 28,
"b": 66
},
"hsl": {
"h": 338.692,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41816,
"c": 0.14358,
"h": 5
},
"luminance": 0.06375
}Semantic roles & 50–950 ramp
primary
#871C42
secondary
#45BA90
accent
#E9AC3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B