#871F5C#871F5C
#871F5C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.151 H 349.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #871F5C |
|---|---|
| RGB | rgb(135, 31, 92) |
| HSL | hsl(325, 63%, 33%) |
| HSV | hsv(325, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 31.9%, 47.1%) |
| CIE-LAB | lab(31.59, 48.56, -10.54) |
| CIE-LCH | lch(31.59, 49.69, 347.76°) |
| OKLab | oklab(43.02% 0.1483 -0.0276) |
| OKLCH | oklch(43.02% 0.151 349.5) |
| XYZ | xyz(12.4141, 6.9050, 10.8022) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.94
Reddish Purple
#910951
ΔE00 4.09
Red Violet
#9E0168
ΔE00 4.45
Velvet
#750851
ΔE00 4.84
Dark Fuchsia
#9D0759
ΔE00 4.86
Red Purple
#820747
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F5C #1F874A
analogous
#7E1F87 #871F5C #871F28
triadic
#871F5C #5C871F #1F5C87
tetradic
#871F5C #877E1F #1F874A #1F2887
square
#871F5C #877E1F #1F874A #1F2887
split-complementary
#871F5C #28871F #1F877E
monochromatic
#230818 #55143A #871F5C #B92A7E #D64B9C
Accessibility & contrast
On white
8.82
#871F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#871F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F5C
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F5C | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#4E515A
Tritanopia (blue-blind)
#91193B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871f5c; /* rgb */ color: rgb(135, 31, 92); /* oklch */ color: oklch(43.0% 0.151 349.5);
Tailwind
colors: {
custom: {
50: '#ae668a',
500: '#871f5c',
950: '#000000',
},
}SCSS
$custom: #871f5c; $custom-light: #ae668a; $custom-dark: #000000;
JSON
{
"hex": "#871f5c",
"rgb": {
"r": 135,
"g": 31,
"b": 92
},
"hsl": {
"h": 324.808,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43023,
"c": 0.15088,
"h": 349.5
},
"luminance": 0.06904
}Semantic roles & 50–950 ramp
primary
#871F5C
secondary
#4AB877
accent
#E68642
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C