#871A40#871A40
#871A40 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 5.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #871A40 |
|---|---|
| RGB | rgb(135, 26, 64) |
| HSL | hsl(339, 68%, 32%) |
| HSV | hsv(339, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.06, 47.22, 5.65) |
| CIE-LCH | lch(30.06, 47.56, 6.82°) |
| OKLab | oklab(41.59% 0.1443 0.0148) |
| OKLCH | oklch(41.59% 0.145 5.8) |
| XYZ | xyz(11.2875, 6.2614, 5.4637) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.61
Wine (survey)
#80013F
ΔE00 3.67
Red Wine
#8C0034
ΔE00 3.73
Berry
#990F4B
ΔE00 3.82
Mulberry
#920A4E
ΔE00 4.43
Red Purple
#820747
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A40 #1A8761
analogous
#871A77 #871A40 #872B1A
triadic
#871A40 #40871A #1A4087
tetradic
#871A40 #77871A #1A8761 #2B1A87
square
#871A40 #77871A #1A8761 #2B1A87
split-complementary
#871A40 #1A872B #1A7787
monochromatic
#20060F #541028 #871A40 #BA2458 #DA4176
Accessibility & contrast
On white
9.33
#871A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A40
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A40 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871a40; /* rgb */ color: rgb(135, 26, 64); /* oklch */ color: oklch(41.6% 0.145 5.8);
Tailwind
colors: {
custom: {
50: '#b06374',
500: '#871a40',
950: '#000000',
},
}SCSS
$custom: #871a40; $custom-light: #b06374; $custom-dark: #000000;
JSON
{
"hex": "#871a40",
"rgb": {
"r": 135,
"g": 26,
"b": 64
},
"hsl": {
"h": 339.083,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.41592,
"c": 0.14505,
"h": 5.8
},
"luminance": 0.0626
}Semantic roles & 50–950 ramp
primary
#871A40
secondary
#42BA91
accent
#EBAE3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B