#871C6E#871C6E
#871C6E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 339.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #871C6E |
|---|---|
| RGB | rgb(135, 28, 110) |
| HSL | hsl(314, 66%, 32%) |
| HSV | hsv(314, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 18.5%, 47.1%) |
| CIE-LAB | lab(32.05, 51.95, -21.41) |
| CIE-LCH | lch(32.05, 56.19, 337.60°) |
| OKLab | oklab(43.62% 0.1548 -0.0579) |
| OKLCH | oklch(43.62% 0.165 339.5) |
| XYZ | xyz(13.2218, 7.1085, 15.4246) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.95
Red Violet
#9E0168
ΔE00 5.38
Rich Purple
#720058
ΔE00 5.75
Purple
#800080
ΔE00 5.97
Velvet
#750851
ΔE00 6.23
Darkmagenta
#8B008B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C6E #1C8735
analogous
#6B1C87 #871C6E #871C38
triadic
#871C6E #6E871C #1C6E87
tetradic
#871C6E #876B1C #1C8735 #1C3887
square
#871C6E #876B1C #1C8735 #1C3887
split-complementary
#871C6E #38871C #1C876B
monochromatic
#22071B #541145 #871C6E #BA2797 #D845B6
Accessibility & contrast
On white
8.67
#871C6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#871C6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C6E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C6E | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F2143
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871c6e; /* rgb */ color: rgb(135, 28, 110); /* oklch */ color: oklch(43.6% 0.165 339.5);
Tailwind
colors: {
custom: {
50: '#ae6598',
500: '#871c6e',
950: '#000000',
},
}SCSS
$custom: #871c6e; $custom-light: #ae6598; $custom-dark: #000000;
JSON
{
"hex": "#871c6e",
"rgb": {
"r": 135,
"g": 28,
"b": 110
},
"hsl": {
"h": 314.019,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43621,
"c": 0.16529,
"h": 339.5
},
"luminance": 0.07107
}Semantic roles & 50–950 ramp
primary
#871C6E
secondary
#45BA60
accent
#E9673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E