#871B49#871B49
#871B49 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 0.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #871B49 |
|---|---|
| RGB | rgb(135, 27, 73) |
| HSL | hsl(334, 67%, 32%) |
| HSV | hsv(334, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 45.9%, 47.1%) |
| CIE-LAB | lab(30.44, 47.74, 0.22) |
| CIE-LCH | lch(30.44, 47.74, 0.26°) |
| OKLab | oklab(41.96% 0.1467 0.0011) |
| OKLCH | oklch(41.96% 0.147 0.4) |
| XYZ | xyz(11.5871, 6.4173, 6.9305) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.44
Red Purple
#820747
ΔE00 2.67
Reddish Purple
#910951
ΔE00 2.92
Wine (survey)
#80013F
ΔE00 3.07
Berry
#990F4B
ΔE00 3.54
Purple Red
#990147
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B49 #1B8759
analogous
#871B7F #871B49 #87231B
triadic
#871B49 #49871B #1B4987
tetradic
#871B49 #7F871B #1B8759 #231B87
square
#871B49 #7F871B #1B8759 #231B87
split-complementary
#871B49 #1B8723 #1B7F87
monochromatic
#210712 #54112D #871B49 #BA2565 #D94383
Accessibility & contrast
On white
9.20
#871B49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871B49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B49
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B49 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#93032F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871b49; /* rgb */ color: rgb(135, 27, 73); /* oklch */ color: oklch(42.0% 0.147 0.4);
Tailwind
colors: {
custom: {
50: '#af637b',
500: '#871b49',
950: '#000000',
},
}SCSS
$custom: #871b49; $custom-light: #af637b; $custom-dark: #000000;
JSON
{
"hex": "#871b49",
"rgb": {
"r": 135,
"g": 27,
"b": 73
},
"hsl": {
"h": 334.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41959,
"c": 0.14666,
"h": 0.4
},
"luminance": 0.06416
}Semantic roles & 50–950 ramp
primary
#871B49
secondary
#44BA88
accent
#EAA13E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B