#871B47#871B47
#871B47 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 1.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #871B47 |
|---|---|
| RGB | rgb(135, 27, 71) |
| HSL | hsl(336, 67%, 32%) |
| HSV | hsv(336, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 47.4%, 47.1%) |
| CIE-LAB | lab(30.38, 47.55, 1.45) |
| CIE-LCH | lch(30.38, 47.57, 1.75°) |
| OKLab | oklab(41.89% 0.1459 0.0043) |
| OKLCH | oklch(41.89% 0.146 1.7) |
| XYZ | xyz(11.5219, 6.3913, 6.5869) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.76
Wine (survey)
#80013F
ΔE00 3.00
Red Purple
#820747
ΔE00 3.04
Reddish Purple
#910951
ΔE00 3.39
Berry
#990F4B
ΔE00 3.40
Purple Red
#990147
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B47 #1B875B
analogous
#871B7D #871B47 #87251B
triadic
#871B47 #47871B #1B4787
tetradic
#871B47 #7D871B #1B875B #251B87
square
#871B47 #7D871B #1B875B #251B87
split-complementary
#871B47 #1B8725 #1B7D87
monochromatic
#210711 #54112C #871B47 #BA2562 #D94380
Accessibility & contrast
On white
9.22
#871B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B47
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B47 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#93022F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b47; /* rgb */ color: rgb(135, 27, 71); /* oklch */ color: oklch(41.9% 0.146 1.7);
Tailwind
colors: {
custom: {
50: '#af637a',
500: '#871b47',
950: '#000000',
},
}SCSS
$custom: #871b47; $custom-light: #af637a; $custom-dark: #000000;
JSON
{
"hex": "#871b47",
"rgb": {
"r": 135,
"g": 27,
"b": 71
},
"hsl": {
"h": 335.556,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41892,
"c": 0.146,
"h": 1.7
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#871B47
secondary
#44BA8A
accent
#EAA43E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B