#871E6D#871E6D
#871E6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 340.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #871E6D |
|---|---|
| RGB | rgb(135, 30, 109) |
| HSL | hsl(315, 64%, 32%) |
| HSV | hsv(315, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 19.3%, 47.1%) |
| CIE-LAB | lab(32.22, 51.18, -20.50) |
| CIE-LCH | lch(32.22, 55.13, 338.17°) |
| OKLab | oklab(43.73% 0.1528 -0.0554) |
| OKLCH | oklch(43.73% 0.162 340.1) |
| XYZ | xyz(13.2166, 7.1849, 15.1558) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.20
Darkish Purple
#751973
ΔE00 5.25
Rich Purple
#720058
ΔE00 5.83
Velvet
#750851
ΔE00 6.14
Purple
#800080
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E6D #1E8738
analogous
#6C1E87 #871E6D #871E39
triadic
#871E6D #6D871E #1E6D87
tetradic
#871E6D #876C1E #1E8738 #1E3987
square
#871E6D #876C1E #1E8738 #1E3987
split-complementary
#871E6D #39871E #1E876C
monochromatic
#23081C #551345 #871E6D #B92995 #D749B3
Accessibility & contrast
On white
8.62
#871E6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#871E6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E6D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E6D | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#8F2243
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871e6d; /* rgb */ color: rgb(135, 30, 109); /* oklch */ color: oklch(43.7% 0.162 340.1);
Tailwind
colors: {
custom: {
50: '#ae6697',
500: '#871e6d',
950: '#000000',
},
}SCSS
$custom: #871e6d; $custom-light: #ae6697; $custom-dark: #000000;
JSON
{
"hex": "#871e6d",
"rgb": {
"r": 135,
"g": 30,
"b": 109
},
"hsl": {
"h": 314.857,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.43729,
"c": 0.16249,
"h": 340.1
},
"luminance": 0.07184
}Semantic roles & 50–950 ramp
primary
#871E6D
secondary
#48B964
accent
#E76A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E