#871F6B#871F6B
#871F6B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.160 H 341.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #871F6B |
|---|---|
| RGB | rgb(135, 31, 107) |
| HSL | hsl(316, 63%, 33%) |
| HSV | hsv(316, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 20.7%, 47.1%) |
| CIE-LAB | lab(32.24, 50.56, -19.20) |
| CIE-LCH | lch(32.24, 54.08, 339.21°) |
| OKLab | oklab(43.71% 0.1515 -0.0517) |
| OKLCH | oklch(43.71% 0.16 341.2) |
| XYZ | xyz(13.1359, 7.1937, 14.6038) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.94
Darkish Purple
#751973
ΔE00 5.69
Rich Purple
#720058
ΔE00 5.82
Velvet
#750851
ΔE00 5.88
Bruise
#7E4071
ΔE00 6.74
Grape
#6C3461
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F6B #1F873B
analogous
#6F1F87 #871F6B #871F37
triadic
#871F6B #6B871F #1F6B87
tetradic
#871F6B #876F1F #1F873B #1F3787
square
#871F6B #876F1F #1F873B #1F3787
split-complementary
#871F6B #37871F #1F876F
monochromatic
#23081C #551444 #871F6B #B92A92 #D64BB0
Accessibility & contrast
On white
8.61
#871F6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#871F6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F6B
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F6B | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#495269
Tritanopia (blue-blind)
#902143
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f6b; /* rgb */ color: rgb(135, 31, 107); /* oklch */ color: oklch(43.7% 0.160 341.2);
Tailwind
colors: {
custom: {
50: '#ae6695',
500: '#871f6b',
950: '#000000',
},
}SCSS
$custom: #871f6b; $custom-light: #ae6695; $custom-dark: #000000;
JSON
{
"hex": "#871f6b",
"rgb": {
"r": 135,
"g": 31,
"b": 107
},
"hsl": {
"h": 316.154,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43712,
"c": 0.16004,
"h": 341.2
},
"luminance": 0.07192
}Semantic roles & 50–950 ramp
primary
#871F6B
secondary
#4AB867
accent
#E66E42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E