#871B41#871B41
#871B41 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.144 H 5.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #871B41 |
|---|---|
| RGB | rgb(135, 27, 65) |
| HSL | hsl(339, 67%, 32%) |
| HSV | hsv(339, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 51.9%, 47.1%) |
| CIE-LAB | lab(30.20, 47.00, 5.18) |
| CIE-LCH | lch(30.20, 47.28, 6.29°) |
| OKLab | oklab(41.7% 0.1437 0.0136) |
| OKLCH | oklch(41.7% 0.144 5.4) |
| XYZ | xyz(11.3388, 6.3180, 5.6224) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.57
Wine (survey)
#80013F
ΔE00 3.62
Berry
#990F4B
ΔE00 3.71
Red Wine
#8C0034
ΔE00 4.00
Mulberry
#920A4E
ΔE00 4.25
Red Purple
#820747
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B41 #1B8761
analogous
#871B77 #871B41 #872B1B
triadic
#871B41 #41871B #1B4187
tetradic
#871B41 #77871B #1B8761 #2B1B87
square
#871B41 #77871B #1B8761 #2B1B87
split-complementary
#871B41 #1B872B #1B7787
monochromatic
#210710 #541128 #871B41 #BA255A #D94378
Accessibility & contrast
On white
9.28
#871B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B41
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B41 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373942
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b41; /* rgb */ color: rgb(135, 27, 65); /* oklch */ color: oklch(41.7% 0.144 5.4);
Tailwind
colors: {
custom: {
50: '#af6375',
500: '#871b41',
950: '#000000',
},
}SCSS
$custom: #871b41; $custom-light: #af6375; $custom-dark: #000000;
JSON
{
"hex": "#871b41",
"rgb": {
"r": 135,
"g": 27,
"b": 65
},
"hsl": {
"h": 338.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41703,
"c": 0.14432,
"h": 5.4
},
"luminance": 0.06316
}Semantic roles & 50–950 ramp
primary
#871B41
secondary
#44BA90
accent
#EAAD3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B