#871F5F#871F5F
#871F5F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.153 H 347.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #871F5F |
|---|---|
| RGB | rgb(135, 31, 95) |
| HSL | hsl(323, 63%, 33%) |
| HSV | hsv(323, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 29.6%, 47.1%) |
| CIE-LAB | lab(31.71, 48.94, -12.29) |
| CIE-LCH | lch(31.71, 50.46, 345.90°) |
| OKLab | oklab(43.15% 0.1491 -0.0324) |
| OKLCH | oklch(43.15% 0.153 347.7) |
| XYZ | xyz(12.5478, 6.9585, 11.5066) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.29
Dark Magenta
#960056
ΔE00 4.46
Reddish Purple
#910951
ΔE00 4.76
Velvet
#750851
ΔE00 4.81
Dark Fuchsia
#9D0759
ΔE00 5.33
Deep Magenta
#A0025C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F5F #1F8747
analogous
#7B1F87 #871F5F #871F2B
triadic
#871F5F #5F871F #1F5F87
tetradic
#871F5F #877B1F #1F8747 #1F2B87
square
#871F5F #877B1F #1F8747 #1F2B87
split-complementary
#871F5F #2B871F #1F877B
monochromatic
#230819 #55143C #871F5F #B92A82 #D64BA0
Accessibility & contrast
On white
8.78
#871F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#871F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F5F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F5F | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#911B3C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #871f5f; /* rgb */ color: rgb(135, 31, 95); /* oklch */ color: oklch(43.2% 0.153 347.7);
Tailwind
colors: {
custom: {
50: '#ae668c',
500: '#871f5f',
950: '#000000',
},
}SCSS
$custom: #871f5f; $custom-light: #ae668c; $custom-dark: #000000;
JSON
{
"hex": "#871f5f",
"rgb": {
"r": 135,
"g": 31,
"b": 95
},
"hsl": {
"h": 323.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43152,
"c": 0.15256,
"h": 347.7
},
"luminance": 0.06957
}Semantic roles & 50–950 ramp
primary
#871F5F
secondary
#4AB874
accent
#E68142
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D