#871C6F#871C6F
#871C6F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.166 H 339.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #871C6F |
|---|---|
| RGB | rgb(135, 28, 111) |
| HSL | hsl(313, 66%, 32%) |
| HSV | hsv(313, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 17.8%, 47.1%) |
| CIE-LAB | lab(32.10, 52.09, -21.97) |
| CIE-LCH | lch(32.10, 56.54, 337.13°) |
| OKLab | oklab(43.67% 0.1549 -0.0595) |
| OKLCH | oklch(43.67% 0.166 339) |
| XYZ | xyz(13.2765, 7.1304, 15.7129) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.79
Red Violet
#9E0168
ΔE00 5.52
Purple
#800080
ΔE00 5.76
Rich Purple
#720058
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 6.18
Velvet
#750851
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C6F #1C8734
analogous
#6A1C87 #871C6F #871C3A
triadic
#871C6F #6F871C #1C6F87
tetradic
#871C6F #876A1C #1C8734 #1C3A87
square
#871C6F #876A1C #1C8734 #1C3A87
split-complementary
#871C6F #3A871C #1C876A
monochromatic
#22071C #541145 #871C6F #BA2799 #D845B7
Accessibility & contrast
On white
8.66
#871C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#871C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C6F
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C6F | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#47516D
Tritanopia (blue-blind)
#8F2144
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871c6f; /* rgb */ color: rgb(135, 28, 111); /* oklch */ color: oklch(43.7% 0.166 339.0);
Tailwind
colors: {
custom: {
50: '#ae6598',
500: '#871c6f',
950: '#000000',
},
}SCSS
$custom: #871c6f; $custom-light: #ae6598; $custom-dark: #000000;
JSON
{
"hex": "#871c6f",
"rgb": {
"r": 135,
"g": 28,
"b": 111
},
"hsl": {
"h": 313.458,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43672,
"c": 0.16596,
"h": 339
},
"luminance": 0.07129
}Semantic roles & 50–950 ramp
primary
#871C6F
secondary
#45BA5F
accent
#E9653F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E