#871D42#871D42
#871D42 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 5.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #871D42 |
|---|---|
| RGB | rgb(135, 29, 66) |
| HSL | hsl(339, 65%, 32%) |
| HSV | hsv(339, 79%, 53%) |
| CMYK | cmyk(0%, 78.5%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.46, 46.44, 4.88) |
| CIE-LCH | lch(30.46, 46.69, 6.00°) |
| OKLab | oklab(41.9% 0.142 0.0129) |
| OKLCH | oklch(41.9% 0.143 5.2) |
| XYZ | xyz(11.4154, 6.4245, 5.7922) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.62
Berry
#990F4B
ΔE00 3.68
Wine (survey)
#80013F
ΔE00 3.76
Mulberry
#920A4E
ΔE00 4.20
Red Wine
#8C0034
ΔE00 4.25
Red Purple
#820747
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871D42 #1D8762
analogous
#871D77 #871D42 #872D1D
triadic
#871D42 #42871D #1D4287
tetradic
#871D42 #77871D #1D8762 #2D1D87
square
#871D42 #77871D #1D8762 #2D1D87
split-complementary
#871D42 #1D872D #1D7787
monochromatic
#220711 #551229 #871D42 #B9285B #D74779
Accessibility & contrast
On white
9.19
#871D42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871D42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871D42
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871D42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871D42 | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#93022D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871d42; /* rgb */ color: rgb(135, 29, 66); /* oklch */ color: oklch(41.9% 0.143 5.2);
Tailwind
colors: {
custom: {
50: '#af6476',
500: '#871d42',
950: '#000000',
},
}SCSS
$custom: #871d42; $custom-light: #af6476; $custom-dark: #000000;
JSON
{
"hex": "#871d42",
"rgb": {
"r": 135,
"g": 29,
"b": 66
},
"hsl": {
"h": 339.057,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.41902,
"c": 0.14256,
"h": 5.2
},
"luminance": 0.06423
}Semantic roles & 50–950 ramp
primary
#871D42
secondary
#46B991
accent
#E8AD40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B