#871F6C#871F6C
#871F6C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.161 H 340.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6C |
|---|---|
| RGB | rgb(135, 31, 108) |
| HSL | hsl(316, 63%, 33%) |
| HSV | hsv(316, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 20%, 47.1%) |
| CIE-LAB | lab(32.29, 50.70, -19.76) |
| CIE-LCH | lch(32.29, 54.42, 338.71°) |
| OKLab | oklab(43.76% 0.1516 -0.0533) |
| OKLCH | oklch(43.76% 0.161 340.6) |
| XYZ | xyz(13.1888, 7.2149, 14.8825) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.50
Rich Purple
#720058
ΔE00 5.86
Velvet
#750851
ΔE00 6.03
Purple
#800080
ΔE00 6.67
Bruise
#7E4071
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6C #1F873A
analogous
#6E1F87 #871F6C #871F38
triadic
#871F6C #6C871F #1F6C87
tetradic
#871F6C #876E1F #1F873A #1F3887
square
#871F6C #876E1F #1F873A #1F3887
split-complementary
#871F6C #38871F #1F876E
monochromatic
#23081C #551444 #871F6C #B92A94 #D64BB2
Accessibility & contrast
On white
8.60
#871F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#871F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6C
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6C | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#49526A
Tritanopia (blue-blind)
#8F2243
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6c; /* rgb */ color: rgb(135, 31, 108); /* oklch */ color: oklch(43.8% 0.161 340.6);
Tailwind
colors: {
custom: {
50: '#ae6696',
500: '#871f6c',
950: '#000000',
},
}SCSS
$custom: #871f6c; $custom-light: #ae6696; $custom-dark: #000000;
JSON
{
"hex": "#871f6c",
"rgb": {
"r": 135,
"g": 31,
"b": 108
},
"hsl": {
"h": 315.577,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43761,
"c": 0.1607,
"h": 340.6
},
"luminance": 0.07214
}Semantic roles & 50–950 ramp
primary
#871F6C
secondary
#4AB866
accent
#E66D42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E