#871B6F#871B6F
#871B6F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.167 H 338.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #871B6F |
|---|---|
| RGB | rgb(135, 27, 111) |
| HSL | hsl(313, 67%, 32%) |
| HSV | hsv(313, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 17.8%, 47.1%) |
| CIE-LAB | lab(32.00, 52.39, -22.13) |
| CIE-LCH | lch(32.00, 56.88, 337.10°) |
| OKLab | oklab(43.6% 0.1558 -0.06) |
| OKLCH | oklch(43.6% 0.167 338.9) |
| XYZ | xyz(13.2532, 7.0838, 15.7052) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.73
Red Violet
#9E0168
ΔE00 5.54
Purple
#800080
ΔE00 5.67
Rich Purple
#720058
ΔE00 5.77
Darkmagenta
#8B008B
ΔE00 6.12
Velvet
#750851
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B6F #1B8733
analogous
#691B87 #871B6F #871B39
triadic
#871B6F #6F871B #1B6F87
tetradic
#871B6F #87691B #1B8733 #1B3987
square
#871B6F #87691B #1B8733 #1B3987
split-complementary
#871B6F #39871B #1B8769
monochromatic
#21071B #541145 #871B6F #BA2599 #D943B8
Accessibility & contrast
On white
8.69
#871B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#871B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B6F
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B6F | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#47516D
Tritanopia (blue-blind)
#8F2044
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871b6f; /* rgb */ color: rgb(135, 27, 111); /* oklch */ color: oklch(43.6% 0.167 338.9);
Tailwind
colors: {
custom: {
50: '#ae6598',
500: '#871b6f',
950: '#000000',
},
}SCSS
$custom: #871b6f; $custom-light: #ae6598; $custom-dark: #000000;
JSON
{
"hex": "#871b6f",
"rgb": {
"r": 135,
"g": 27,
"b": 111
},
"hsl": {
"h": 313.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.43596,
"c": 0.16698,
"h": 338.9
},
"luminance": 0.07082
}Semantic roles & 50–950 ramp
primary
#871B6F
secondary
#44BA5E
accent
#EA643E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E