#871C6D#871C6D
#871C6D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 340.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #871C6D |
|---|---|
| RGB | rgb(135, 28, 109) |
| HSL | hsl(315, 66%, 32%) |
| HSV | hsv(315, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 19.3%, 47.1%) |
| CIE-LAB | lab(32.00, 51.80, -20.85) |
| CIE-LCH | lch(32.00, 55.84, 338.08°) |
| OKLab | oklab(43.57% 0.1547 -0.0563) |
| OKLCH | oklch(43.57% 0.165 340) |
| XYZ | xyz(13.1676, 7.0869, 15.1395) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.11
Red Violet
#9E0168
ΔE00 5.23
Rich Purple
#720058
ΔE00 5.68
Velvet
#750851
ΔE00 6.06
Purple
#800080
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C6D #1C8736
analogous
#6B1C87 #871C6D #871C38
triadic
#871C6D #6D871C #1C6D87
tetradic
#871C6D #876B1C #1C8736 #1C3887
square
#871C6D #876B1C #1C8736 #1C3887
split-complementary
#871C6D #38871C #1C876B
monochromatic
#22071B #541144 #871C6D #BA2796 #D845B5
Accessibility & contrast
On white
8.69
#871C6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#871C6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C6D
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C6D | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#48516B
Tritanopia (blue-blind)
#8F2043
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871c6d; /* rgb */ color: rgb(135, 28, 109); /* oklch */ color: oklch(43.6% 0.165 340.0);
Tailwind
colors: {
custom: {
50: '#ae6597',
500: '#871c6d',
950: '#000000',
},
}SCSS
$custom: #871c6d; $custom-light: #ae6597; $custom-dark: #000000;
JSON
{
"hex": "#871c6d",
"rgb": {
"r": 135,
"g": 28,
"b": 109
},
"hsl": {
"h": 314.579,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43569,
"c": 0.16461,
"h": 340
},
"luminance": 0.07086
}Semantic roles & 50–950 ramp
primary
#871C6D
secondary
#45BA61
accent
#E9683F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E