#871B48#871B48
#871B48 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 1.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #871B48 |
|---|---|
| RGB | rgb(135, 27, 72) |
| HSL | hsl(335, 67%, 32%) |
| HSV | hsv(335, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 46.7%, 47.1%) |
| CIE-LAB | lab(30.41, 47.64, 0.83) |
| CIE-LCH | lch(30.41, 47.65, 1.00°) |
| OKLab | oklab(41.93% 0.1463 0.0027) |
| OKLCH | oklch(41.93% 0.146 1) |
| XYZ | xyz(11.5542, 6.4042, 6.7573) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.58
Red Purple
#820747
ΔE00 2.84
Wine (survey)
#80013F
ΔE00 3.02
Reddish Purple
#910951
ΔE00 3.15
Berry
#990F4B
ΔE00 3.45
Purple Red
#990147
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B48 #1B875A
analogous
#871B7E #871B48 #87241B
triadic
#871B48 #48871B #1B4887
tetradic
#871B48 #7E871B #1B875A #241B87
square
#871B48 #7E871B #1B875A #241B87
split-complementary
#871B48 #1B8724 #1B7E87
monochromatic
#210712 #54112D #871B48 #BA2563 #D94382
Accessibility & contrast
On white
9.21
#871B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B48
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B48 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A49
Deuteranopia (green-blind)
#524F46
Tritanopia (blue-blind)
#93032F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871b48; /* rgb */ color: rgb(135, 27, 72); /* oklch */ color: oklch(41.9% 0.146 1.0);
Tailwind
colors: {
custom: {
50: '#af637a',
500: '#871b48',
950: '#000000',
},
}SCSS
$custom: #871b48; $custom-light: #af637a; $custom-dark: #000000;
JSON
{
"hex": "#871b48",
"rgb": {
"r": 135,
"g": 27,
"b": 72
},
"hsl": {
"h": 335,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41925,
"c": 0.14632,
"h": 1
},
"luminance": 0.06403
}Semantic roles & 50–950 ramp
primary
#871B48
secondary
#44BA89
accent
#EAA23E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B