#871C6B#871C6B
#871C6B is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.163 H 341.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #871C6B |
|---|---|
| RGB | rgb(135, 28, 107) |
| HSL | hsl(316, 66%, 32%) |
| HSV | hsv(316, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 20.7%, 47.1%) |
| CIE-LAB | lab(31.91, 51.52, -19.72) |
| CIE-LCH | lch(31.91, 55.17, 339.06°) |
| OKLab | oklab(43.47% 0.1544 -0.0531) |
| OKLCH | oklch(43.47% 0.163 341) |
| XYZ | xyz(13.0612, 7.0443, 14.5789) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.97
Darkish Purple
#751973
ΔE00 5.47
Rich Purple
#720058
ΔE00 5.56
Velvet
#750851
ΔE00 5.75
Purple
#800080
ΔE00 6.60
Dark Magenta
#960056
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C6B #1C8738
analogous
#6E1C87 #871C6B #871C36
triadic
#871C6B #6B871C #1C6B87
tetradic
#871C6B #876E1C #1C8738 #1C3687
square
#871C6B #876E1C #1C8738 #1C3687
split-complementary
#871C6B #36871C #1C876E
monochromatic
#22071B #541143 #871C6B #BA2793 #D845B2
Accessibility & contrast
On white
8.72
#871C6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#871C6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C6B
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C6B | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#485169
Tritanopia (blue-blind)
#901F42
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871c6b; /* rgb */ color: rgb(135, 28, 107); /* oklch */ color: oklch(43.5% 0.163 341.0);
Tailwind
colors: {
custom: {
50: '#ae6595',
500: '#871c6b',
950: '#000000',
},
}SCSS
$custom: #871c6b; $custom-light: #ae6595; $custom-dark: #000000;
JSON
{
"hex": "#871c6b",
"rgb": {
"r": 135,
"g": 28,
"b": 107
},
"hsl": {
"h": 315.701,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43469,
"c": 0.16327,
"h": 341
},
"luminance": 0.07043
}Semantic roles & 50–950 ramp
primary
#871C6B
secondary
#45BA63
accent
#E96C3F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E