#871B58#871B58
#871B58 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 351.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #871B58 |
|---|---|
| RGB | rgb(135, 27, 88) |
| HSL | hsl(326, 67%, 32%) |
| HSV | hsv(326, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 34.8%, 47.1%) |
| CIE-LAB | lab(30.97, 49.37, -8.86) |
| CIE-LCH | lch(30.97, 50.16, 349.83°) |
| OKLab | oklab(42.52% 0.1514 -0.023) |
| OKLCH | oklch(42.52% 0.153 351.4) |
| XYZ | xyz(12.1458, 6.6408, 9.8728) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.25
Dark Magenta
#960056
ΔE00 3.31
Red Purple
#820747
ΔE00 3.99
Mulberry
#920A4E
ΔE00 4.15
Dark Fuchsia
#9D0759
ΔE00 4.43
Velvet
#750851
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B58 #1B874A
analogous
#801B87 #871B58 #871B22
triadic
#871B58 #58871B #1B5887
tetradic
#871B58 #87801B #1B874A #1B2287
square
#871B58 #87801B #1B874A #1B2287
split-complementary
#871B58 #22871B #1B8780
monochromatic
#210716 #541137 #871B58 #BA2579 #D94398
Accessibility & contrast
On white
9.02
#871B58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#871B58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B58
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B58 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3D5A
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#921137
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871b58; /* rgb */ color: rgb(135, 27, 88); /* oklch */ color: oklch(42.5% 0.153 351.4);
Tailwind
colors: {
custom: {
50: '#ae6487',
500: '#871b58',
950: '#000000',
},
}SCSS
$custom: #871b58; $custom-light: #ae6487; $custom-dark: #000000;
JSON
{
"hex": "#871b58",
"rgb": {
"r": 135,
"g": 27,
"b": 88
},
"hsl": {
"h": 326.111,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.42523,
"c": 0.15309,
"h": 351.4
},
"luminance": 0.06639
}Semantic roles & 50–950 ramp
primary
#871B58
secondary
#44BA77
accent
#EA893E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C