#871B40#871B40
#871B40 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.144 H 6.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #871B40 |
|---|---|
| RGB | rgb(135, 27, 64) |
| HSL | hsl(339, 67%, 32%) |
| HSV | hsv(339, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.17, 46.91, 5.81) |
| CIE-LCH | lch(30.17, 47.27, 7.06°) |
| OKLab | oklab(41.67% 0.1433 0.0151) |
| OKLCH | oklch(41.67% 0.144 6) |
| XYZ | xyz(11.3100, 6.3065, 5.4712) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.67
Red Wine
#8C0034
ΔE00 3.71
Wine (survey)
#80013F
ΔE00 3.83
Berry
#990F4B
ΔE00 3.87
Mulberry
#920A4E
ΔE00 4.54
Red Purple
#820747
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B40 #1B8762
analogous
#871B76 #871B40 #872C1B
triadic
#871B40 #40871B #1B4087
tetradic
#871B40 #76871B #1B8762 #2C1B87
square
#871B40 #76871B #1B8762 #2C1B87
split-complementary
#871B40 #1B872C #1B7687
monochromatic
#210710 #541128 #871B40 #BA2558 #D94377
Accessibility & contrast
On white
9.29
#871B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B40
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B40 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b40; /* rgb */ color: rgb(135, 27, 64); /* oklch */ color: oklch(41.7% 0.144 6.0);
Tailwind
colors: {
custom: {
50: '#b06374',
500: '#871b40',
950: '#000000',
},
}SCSS
$custom: #871b40; $custom-light: #b06374; $custom-dark: #000000;
JSON
{
"hex": "#871b40",
"rgb": {
"r": 135,
"g": 27,
"b": 64
},
"hsl": {
"h": 339.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41673,
"c": 0.14409,
"h": 6
},
"luminance": 0.06305
}Semantic roles & 50–950 ramp
primary
#871B40
secondary
#44BA92
accent
#EAAF3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B