#871F74#871F74
#871F74 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.166 H 336.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #871F74 |
|---|---|
| RGB | rgb(135, 31, 116) |
| HSL | hsl(311, 63%, 33%) |
| HSV | hsv(311, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 14.1%, 47.1%) |
| CIE-LAB | lab(32.69, 51.89, -24.23) |
| CIE-LCH | lch(32.69, 57.27, 334.96°) |
| OKLab | oklab(44.18% 0.1526 -0.066) |
| OKLCH | oklch(44.18% 0.166 336.6) |
| XYZ | xyz(13.6343, 7.3931, 17.2286) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.33
Purple
#800080
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 5.33
Warm Purple
#952E8F
ΔE00 5.62
Red Violet
#9E0168
ΔE00 6.24
Rich Purple
#720058
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F74 #1F8732
analogous
#661F87 #871F74 #871F40
triadic
#871F74 #74871F #1F7487
tetradic
#871F74 #87661F #1F8732 #1F4087
square
#871F74 #87661F #1F8732 #1F4087
split-complementary
#871F74 #40871F #1F8766
monochromatic
#23081E #551449 #871F74 #B92A9F #D64BBC
Accessibility & contrast
On white
8.47
#871F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#871F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F74
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F74 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#465272
Tritanopia (blue-blind)
#8E2647
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #871f74; /* rgb */ color: rgb(135, 31, 116); /* oklch */ color: oklch(44.2% 0.166 336.6);
Tailwind
colors: {
custom: {
50: '#ad669c',
500: '#871f74',
950: '#000000',
},
}SCSS
$custom: #871f74; $custom-light: #ad669c; $custom-dark: #000000;
JSON
{
"hex": "#871f74",
"rgb": {
"r": 135,
"g": 31,
"b": 116
},
"hsl": {
"h": 310.962,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.44175,
"c": 0.16628,
"h": 336.6
},
"luminance": 0.07392
}Semantic roles & 50–950 ramp
primary
#871F74
secondary
#4AB85E
accent
#E66042
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E