#871C66#871C66
#871C66 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.160 H 343.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #871C66 |
|---|---|
| RGB | rgb(135, 28, 102) |
| HSL | hsl(319, 66%, 32%) |
| HSV | hsv(319, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 24.4%, 47.1%) |
| CIE-LAB | lab(31.67, 50.83, -16.87) |
| CIE-LCH | lch(31.67, 53.56, 341.64°) |
| OKLab | oklab(43.22% 0.1536 -0.0451) |
| OKLCH | oklch(43.22% 0.16 343.6) |
| XYZ | xyz(12.8057, 6.9421, 13.2334) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.45
Velvet
#750851
ΔE00 5.06
Rich Purple
#720058
ΔE00 5.46
Dark Magenta
#960056
ΔE00 5.89
Darkish Purple
#751973
ΔE00 6.45
Reddish Purple
#910951
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C66 #1C873D
analogous
#731C87 #871C66 #871C30
triadic
#871C66 #66871C #1C6687
tetradic
#871C66 #87731C #1C873D #1C3087
square
#871C66 #87731C #1C873D #1C3087
split-complementary
#871C66 #30871C #1C8773
monochromatic
#220719 #541140 #871C66 #BA278C #D845AB
Accessibility & contrast
On white
8.79
#871C66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#871C66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C66
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C66 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#901C3F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871c66; /* rgb */ color: rgb(135, 28, 102); /* oklch */ color: oklch(43.2% 0.160 343.6);
Tailwind
colors: {
custom: {
50: '#ae6591',
500: '#871c66',
950: '#000000',
},
}SCSS
$custom: #871c66; $custom-light: #ae6591; $custom-dark: #000000;
JSON
{
"hex": "#871c66",
"rgb": {
"r": 135,
"g": 28,
"b": 102
},
"hsl": {
"h": 318.505,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.43224,
"c": 0.16005,
"h": 343.6
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#871C66
secondary
#45BA69
accent
#E9733F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D