#871C72#871C72
#871C72 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 337.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #871C72 |
|---|---|
| RGB | rgb(135, 28, 114) |
| HSL | hsl(312, 66%, 32%) |
| HSV | hsv(312, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 15.6%, 47.1%) |
| CIE-LAB | lab(32.25, 52.53, -23.64) |
| CIE-LCH | lch(32.25, 57.61, 335.77°) |
| OKLab | oklab(43.83% 0.1553 -0.0643) |
| OKLCH | oklch(43.83% 0.168 337.5) |
| XYZ | xyz(13.4445, 7.1976, 16.5975) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.36
Purple
#800080
ΔE00 5.17
Darkmagenta
#8B008B
ΔE00 5.53
Red Violet
#9E0168
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.06
Rich Purple
#720058
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C72 #1C8731
analogous
#671C87 #871C72 #871C3C
triadic
#871C72 #72871C #1C7287
tetradic
#871C72 #87671C #1C8731 #1C3C87
square
#871C72 #87671C #1C8731 #1C3C87
split-complementary
#871C72 #3C871C #1C8767
monochromatic
#22071C #541147 #871C72 #BA279D #D845BB
Accessibility & contrast
On white
8.61
#871C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#871C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C72
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C72 | 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)
#204174
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #871c72; /* rgb */ color: rgb(135, 28, 114); /* oklch */ color: oklch(43.8% 0.168 337.5);
Tailwind
colors: {
custom: {
50: '#ae659b',
500: '#871c72',
950: '#000000',
},
}SCSS
$custom: #871c72; $custom-light: #ae659b; $custom-dark: #000000;
JSON
{
"hex": "#871c72",
"rgb": {
"r": 135,
"g": 28,
"b": 114
},
"hsl": {
"h": 311.776,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.4383,
"c": 0.16805,
"h": 337.5
},
"luminance": 0.07196
}Semantic roles & 50–950 ramp
primary
#871C72
secondary
#45BA5C
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E