#871B42#871B42
#871B42 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.145 H 4.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #871B42 |
|---|---|
| RGB | rgb(135, 27, 66) |
| HSL | hsl(338, 67%, 32%) |
| HSV | hsv(338, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.23, 47.08, 4.56) |
| CIE-LCH | lch(30.23, 47.30, 5.53°) |
| OKLab | oklab(41.73% 0.1441 0.0121) |
| OKLCH | oklch(41.73% 0.145 4.8) |
| XYZ | xyz(11.3680, 6.3297, 5.7763) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.44
Purple Red
#990147
ΔE00 3.50
Berry
#990F4B
ΔE00 3.58
Mulberry
#920A4E
ΔE00 3.96
Red Wine
#8C0034
ΔE00 4.28
Red Purple
#820747
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B42 #1B8760
analogous
#871B78 #871B42 #872A1B
triadic
#871B42 #42871B #1B4287
tetradic
#871B42 #78871B #1B8760 #2A1B87
square
#871B42 #78871B #1B8760 #2A1B87
split-complementary
#871B42 #1B872A #1B7887
monochromatic
#210710 #541129 #871B42 #BA255B #D94379
Accessibility & contrast
On white
9.27
#871B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B42
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B42 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b42; /* rgb */ color: rgb(135, 27, 66); /* oklch */ color: oklch(41.7% 0.145 4.8);
Tailwind
colors: {
custom: {
50: '#af6376',
500: '#871b42',
950: '#000000',
},
}SCSS
$custom: #871b42; $custom-light: #af6376; $custom-dark: #000000;
JSON
{
"hex": "#871b42",
"rgb": {
"r": 135,
"g": 27,
"b": 66
},
"hsl": {
"h": 338.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41733,
"c": 0.14457,
"h": 4.8
},
"luminance": 0.06328
}Semantic roles & 50–950 ramp
primary
#871B42
secondary
#44BA8F
accent
#EAAC3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B