#871B66#871B66
#871B66 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 343.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #871B66 |
|---|---|
| RGB | rgb(135, 27, 102) |
| HSL | hsl(318, 67%, 32%) |
| HSV | hsv(318, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 24.4%, 47.1%) |
| CIE-LAB | lab(31.57, 51.14, -17.04) |
| CIE-LCH | lch(31.57, 53.90, 341.58°) |
| OKLab | oklab(43.15% 0.1545 -0.0456) |
| OKLCH | oklch(43.15% 0.161 343.6) |
| XYZ | xyz(12.7824, 6.8955, 13.2256) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Velvet
#750851
ΔE00 5.01
Rich Purple
#720058
ΔE00 5.37
Dark Magenta
#960056
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.39
Reddish Purple
#910951
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B66 #1B873C
analogous
#721B87 #871B66 #871B30
triadic
#871B66 #66871B #1B6687
tetradic
#871B66 #87721B #1B873C #1B3087
square
#871B66 #87721B #1B873C #1B3087
split-complementary
#871B66 #30871B #1B8772
monochromatic
#210719 #54113F #871B66 #BA258D #D943AB
Accessibility & contrast
On white
8.83
#871B66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#871B66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B66
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B66 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283F68
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#901B3F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871b66; /* rgb */ color: rgb(135, 27, 102); /* oklch */ color: oklch(43.1% 0.161 343.6);
Tailwind
colors: {
custom: {
50: '#ae6491',
500: '#871b66',
950: '#000000',
},
}SCSS
$custom: #871b66; $custom-light: #ae6491; $custom-dark: #000000;
JSON
{
"hex": "#871b66",
"rgb": {
"r": 135,
"g": 27,
"b": 102
},
"hsl": {
"h": 318.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.43147,
"c": 0.16108,
"h": 343.6
},
"luminance": 0.06894
}Semantic roles & 50–950 ramp
primary
#871B66
secondary
#44BA68
accent
#EA733E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D