#871D40#871D40
#871D40 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 6.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #871D40 |
|---|---|
| RGB | rgb(135, 29, 64) |
| HSL | hsl(340, 65%, 32%) |
| HSV | hsv(340, 79%, 53%) |
| CMYK | cmyk(0%, 78.5%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.40, 46.26, 6.13) |
| CIE-LCH | lch(30.40, 46.66, 7.55°) |
| OKLab | oklab(41.84% 0.1412 0.016) |
| OKLCH | oklch(41.84% 0.142 6.4) |
| XYZ | xyz(11.3575, 6.4014, 5.4870) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.71
Purple Red
#990147
ΔE00 3.83
Berry
#990F4B
ΔE00 3.99
Wine (survey)
#80013F
ΔE00 4.15
Mulberry
#920A4E
ΔE00 4.78
Bordeaux
#7B002C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871D40 #1D8764
analogous
#871D75 #871D40 #872F1D
triadic
#871D40 #40871D #1D4087
tetradic
#871D40 #75871D #1D8764 #2F1D87
square
#871D40 #75871D #1D8764 #2F1D87
split-complementary
#871D40 #1D872F #1D7587
monochromatic
#220710 #551228 #871D40 #B92858 #D74777
Accessibility & contrast
On white
9.21
#871D40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871D40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871D40
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871D40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871D40 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#94002C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871d40; /* rgb */ color: rgb(135, 29, 64); /* oklch */ color: oklch(41.8% 0.142 6.4);
Tailwind
colors: {
custom: {
50: '#af6474',
500: '#871d40',
950: '#000000',
},
}SCSS
$custom: #871d40; $custom-light: #af6474; $custom-dark: #000000;
JSON
{
"hex": "#871d40",
"rgb": {
"r": 135,
"g": 29,
"b": 64
},
"hsl": {
"h": 340.189,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.41843,
"c": 0.1421,
"h": 6.4
},
"luminance": 0.064
}Semantic roles & 50–950 ramp
primary
#871D40
secondary
#46B993
accent
#E8B040
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B