#871E68#871E68
#871E68 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 342.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #871E68 |
|---|---|
| RGB | rgb(135, 30, 104) |
| HSL | hsl(318, 64%, 32%) |
| HSV | hsv(318, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 23%, 47.1%) |
| CIE-LAB | lab(31.99, 50.47, -17.67) |
| CIE-LCH | lch(31.99, 53.47, 340.70°) |
| OKLab | oklab(43.48% 0.152 -0.0474) |
| OKLCH | oklch(43.48% 0.159 342.7) |
| XYZ | xyz(12.9551, 7.0803, 13.7784) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Velvet
#750851
ΔE00 5.42
Rich Purple
#720058
ΔE00 5.65
Darkish Purple
#751973
ΔE00 6.19
Dark Magenta
#960056
ΔE00 6.28
Grape
#6C3461
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E68 #1E873D
analogous
#711E87 #871E68 #871E34
triadic
#871E68 #68871E #1E6887
tetradic
#871E68 #87711E #1E873D #1E3487
square
#871E68 #87711E #1E873D #1E3487
split-complementary
#871E68 #34871E #1E8771
monochromatic
#23081B #551341 #871E68 #B9298F #D749AD
Accessibility & contrast
On white
8.69
#871E68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#871E68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E68
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E68 | 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)
#29406A
Deuteranopia (green-blind)
#4A5166
Tritanopia (blue-blind)
#901F41
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871e68; /* rgb */ color: rgb(135, 30, 104); /* oklch */ color: oklch(43.5% 0.159 342.7);
Tailwind
colors: {
custom: {
50: '#ae6693',
500: '#871e68',
950: '#000000',
},
}SCSS
$custom: #871e68; $custom-light: #ae6693; $custom-dark: #000000;
JSON
{
"hex": "#871e68",
"rgb": {
"r": 135,
"g": 30,
"b": 104
},
"hsl": {
"h": 317.714,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.43482,
"c": 0.15917,
"h": 342.7
},
"luminance": 0.07079
}Semantic roles & 50–950 ramp
primary
#871E68
secondary
#48B969
accent
#E77241
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E