#871F66#871F66
#871F66 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.157 H 343.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #871F66 |
|---|---|
| RGB | rgb(135, 31, 102) |
| HSL | hsl(319, 63%, 33%) |
| HSV | hsv(319, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 24.4%, 47.1%) |
| CIE-LAB | lab(32.01, 49.86, -16.35) |
| CIE-LCH | lch(32.01, 52.48, 341.85°) |
| OKLab | oklab(43.47% 0.1506 -0.0437) |
| OKLCH | oklch(43.47% 0.157 343.8) |
| XYZ | xyz(12.8804, 7.0915, 13.2583) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.45
Velvet
#750851
ΔE00 5.24
Rich Purple
#720058
ΔE00 5.75
Dark Magenta
#960056
ΔE00 5.85
Reddish Purple
#910951
ΔE00 6.38
Deep Magenta
#A0025C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F66 #1F8740
analogous
#741F87 #871F66 #871F32
triadic
#871F66 #66871F #1F6687
tetradic
#871F66 #87741F #1F8740 #1F3287
square
#871F66 #87741F #1F8740 #1F3287
split-complementary
#871F66 #32871F #1F8774
monochromatic
#23081B #551440 #871F66 #B92A8C #D64BAA
Accessibility & contrast
On white
8.68
#871F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#871F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F66
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F66 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#4B5264
Tritanopia (blue-blind)
#901F40
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871f66; /* rgb */ color: rgb(135, 31, 102); /* oklch */ color: oklch(43.5% 0.157 343.8);
Tailwind
colors: {
custom: {
50: '#ae6691',
500: '#871f66',
950: '#000000',
},
}SCSS
$custom: #871f66; $custom-light: #ae6691; $custom-dark: #000000;
JSON
{
"hex": "#871f66",
"rgb": {
"r": 135,
"g": 31,
"b": 102
},
"hsl": {
"h": 319.038,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43471,
"c": 0.15678,
"h": 343.8
},
"luminance": 0.0709
}Semantic roles & 50–950 ramp
primary
#871F66
secondary
#4AB86D
accent
#E67642
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D