#871B6E#871B6E
#871B6E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.166 H 339.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #871B6E |
|---|---|
| RGB | rgb(135, 27, 110) |
| HSL | hsl(314, 67%, 32%) |
| HSV | hsv(314, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 18.5%, 47.1%) |
| CIE-LAB | lab(31.95, 52.25, -21.57) |
| CIE-LCH | lch(31.95, 56.53, 337.56°) |
| OKLab | oklab(43.55% 0.1557 -0.0584) |
| OKLCH | oklch(43.55% 0.166 339.4) |
| XYZ | xyz(13.1984, 7.0619, 15.4168) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.89
Red Violet
#9E0168
ΔE00 5.40
Rich Purple
#720058
ΔE00 5.68
Purple
#800080
ΔE00 5.88
Velvet
#750851
ΔE00 6.20
Darkmagenta
#8B008B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B6E #1B8734
analogous
#6A1B87 #871B6E #871B38
triadic
#871B6E #6E871B #1B6E87
tetradic
#871B6E #876A1B #1B8734 #1B3887
square
#871B6E #876A1B #1B8734 #1B3887
split-complementary
#871B6E #38871B #1B876A
monochromatic
#21071B #541144 #871B6E #BA2598 #D943B7
Accessibility & contrast
On white
8.71
#871B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#871B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B6E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B6E | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F2043
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871b6e; /* rgb */ color: rgb(135, 27, 110); /* oklch */ color: oklch(43.5% 0.166 339.4);
Tailwind
colors: {
custom: {
50: '#ae6598',
500: '#871b6e',
950: '#000000',
},
}SCSS
$custom: #871b6e; $custom-light: #ae6598; $custom-dark: #000000;
JSON
{
"hex": "#871b6e",
"rgb": {
"r": 135,
"g": 27,
"b": 110
},
"hsl": {
"h": 313.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.43545,
"c": 0.1663,
"h": 339.4
},
"luminance": 0.07061
}Semantic roles & 50–950 ramp
primary
#871B6E
secondary
#44BA5F
accent
#EA663E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E