#871A6E#871A6E
#871A6E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.167 H 339.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #871A6E |
|---|---|
| RGB | rgb(135, 26, 110) |
| HSL | hsl(314, 68%, 32%) |
| HSV | hsv(314, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 18.5%, 47.1%) |
| CIE-LAB | lab(31.85, 52.54, -21.73) |
| CIE-LCH | lch(31.85, 56.86, 337.53°) |
| OKLab | oklab(43.47% 0.1566 -0.0588) |
| OKLCH | oklch(43.47% 0.167 339.4) |
| XYZ | xyz(13.1759, 7.0168, 15.4093) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.83
Red Violet
#9E0168
ΔE00 5.42
Rich Purple
#720058
ΔE00 5.62
Purple
#800080
ΔE00 5.79
Velvet
#750851
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A6E #1A8733
analogous
#6A1A87 #871A6E #871A38
triadic
#871A6E #6E871A #1A6E87
tetradic
#871A6E #876A1A #1A8733 #1A3887
square
#871A6E #876A1A #1A8733 #1A3887
split-complementary
#871A6E #38871A #1A876A
monochromatic
#20061A #541044 #871A6E #BA2498 #DA41B7
Accessibility & contrast
On white
8.74
#871A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#871A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A6E
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A6E | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F1F43
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871a6e; /* rgb */ color: rgb(135, 26, 110); /* oklch */ color: oklch(43.5% 0.167 339.4);
Tailwind
colors: {
custom: {
50: '#ae6498',
500: '#871a6e',
950: '#000000',
},
}SCSS
$custom: #871a6e; $custom-light: #ae6498; $custom-dark: #000000;
JSON
{
"hex": "#871a6e",
"rgb": {
"r": 135,
"g": 26,
"b": 110
},
"hsl": {
"h": 313.761,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.43471,
"c": 0.16729,
"h": 339.4
},
"luminance": 0.07015
}Semantic roles & 50–950 ramp
primary
#871A6E
secondary
#42BA5E
accent
#EB653D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E