#871F5D#871F5D
#871F5D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.151 H 348.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #871F5D |
|---|---|
| RGB | rgb(135, 31, 93) |
| HSL | hsl(324, 63%, 33%) |
| HSV | hsv(324, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 31.1%, 47.1%) |
| CIE-LAB | lab(31.63, 48.68, -11.12) |
| CIE-LCH | lch(31.63, 49.94, 347.13°) |
| OKLab | oklab(43.07% 0.1486 -0.0292) |
| OKLCH | oklch(43.07% 0.151 348.9) |
| XYZ | xyz(12.4581, 6.9226, 11.0339) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 4.10
Reddish Purple
#910951
ΔE00 4.31
Red Violet
#9E0168
ΔE00 4.38
Velvet
#750851
ΔE00 4.81
Dark Fuchsia
#9D0759
ΔE00 5.01
Deep Magenta
#A0025C
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F5D #1F8749
analogous
#7D1F87 #871F5D #871F29
triadic
#871F5D #5D871F #1F5D87
tetradic
#871F5D #877D1F #1F8749 #1F2987
square
#871F5D #877D1F #1F8749 #1F2987
split-complementary
#871F5D #29871F #1F877D
monochromatic
#230818 #55143B #871F5D #B92A7F #D64B9E
Accessibility & contrast
On white
8.81
#871F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#871F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F5D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F5D | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#4E515B
Tritanopia (blue-blind)
#91193B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871f5d; /* rgb */ color: rgb(135, 31, 93); /* oklch */ color: oklch(43.1% 0.151 348.9);
Tailwind
colors: {
custom: {
50: '#ae668b',
500: '#871f5d',
950: '#000000',
},
}SCSS
$custom: #871f5d; $custom-light: #ae668b; $custom-dark: #000000;
JSON
{
"hex": "#871f5d",
"rgb": {
"r": 135,
"g": 31,
"b": 93
},
"hsl": {
"h": 324.231,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.43065,
"c": 0.15143,
"h": 348.9
},
"luminance": 0.06921
}Semantic roles & 50–950 ramp
primary
#871F5D
secondary
#4AB876
accent
#E68442
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D