#871F70#871F70
#871F70 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.163 H 338.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #871F70 |
|---|---|
| RGB | rgb(135, 31, 112) |
| HSL | hsl(313, 63%, 33%) |
| HSV | hsv(313, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 17%, 47.1%) |
| CIE-LAB | lab(32.48, 51.29, -22.01) |
| CIE-LCH | lch(32.48, 55.81, 336.77°) |
| OKLab | oklab(43.96% 0.1522 -0.0597) |
| OKLCH | oklch(43.96% 0.163 338.6) |
| XYZ | xyz(13.4066, 7.3020, 16.0295) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.85
Red Violet
#9E0168
ΔE00 5.62
Purple
#800080
ΔE00 5.85
Rich Purple
#720058
ΔE00 6.14
Darkmagenta
#8B008B
ΔE00 6.19
Warm Purple
#952E8F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F70 #1F8736
analogous
#6A1F87 #871F70 #871F3C
triadic
#871F70 #70871F #1F7087
tetradic
#871F70 #876A1F #1F8736 #1F3C87
square
#871F70 #876A1F #1F8736 #1F3C87
split-complementary
#871F70 #3C871F #1F876A
monochromatic
#23081D #551447 #871F70 #B92A99 #D64BB7
Accessibility & contrast
On white
8.54
#871F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#871F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F70
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F70 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#8F2445
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871f70; /* rgb */ color: rgb(135, 31, 112); /* oklch */ color: oklch(44.0% 0.163 338.6);
Tailwind
colors: {
custom: {
50: '#ad6699',
500: '#871f70',
950: '#000000',
},
}SCSS
$custom: #871f70; $custom-light: #ad6699; $custom-dark: #000000;
JSON
{
"hex": "#871f70",
"rgb": {
"r": 135,
"g": 31,
"b": 112
},
"hsl": {
"h": 313.269,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43964,
"c": 0.16345,
"h": 338.6
},
"luminance": 0.07301
}Semantic roles & 50–950 ramp
primary
#871F70
secondary
#4AB862
accent
#E66642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E