#871E5F#871E5F
#871E5F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 347.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #871E5F |
|---|---|
| RGB | rgb(135, 30, 95) |
| HSL | hsl(323, 64%, 32%) |
| HSV | hsv(323, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 29.6%, 47.1%) |
| CIE-LAB | lab(31.59, 49.27, -12.47) |
| CIE-LCH | lch(31.59, 50.82, 345.79°) |
| OKLab | oklab(43.07% 0.1501 -0.0329) |
| OKLCH | oklch(43.07% 0.154 347.6) |
| XYZ | xyz(12.5221, 6.9071, 11.4980) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.26
Dark Magenta
#960056
ΔE00 4.45
Velvet
#750851
ΔE00 4.71
Reddish Purple
#910951
ΔE00 4.78
Dark Fuchsia
#9D0759
ΔE00 5.36
Deep Magenta
#A0025C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E5F #1E8746
analogous
#7A1E87 #871E5F #871E2B
triadic
#871E5F #5F871E #1E5F87
tetradic
#871E5F #877A1E #1E8746 #1E2B87
square
#871E5F #877A1E #1E8746 #1E2B87
split-complementary
#871E5F #2B871E #1E877A
monochromatic
#230819 #55133C #871E5F #B92982 #D749A1
Accessibility & contrast
On white
8.82
#871E5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#871E5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E5F
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E5F | 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)
#2E3F61
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#91193C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871e5f; /* rgb */ color: rgb(135, 30, 95); /* oklch */ color: oklch(43.1% 0.154 347.6);
Tailwind
colors: {
custom: {
50: '#ae658c',
500: '#871e5f',
950: '#000000',
},
}SCSS
$custom: #871e5f; $custom-light: #ae658c; $custom-dark: #000000;
JSON
{
"hex": "#871e5f",
"rgb": {
"r": 135,
"g": 30,
"b": 95
},
"hsl": {
"h": 322.857,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.43066,
"c": 0.15368,
"h": 347.6
},
"luminance": 0.06906
}Semantic roles & 50–950 ramp
primary
#871E5F
secondary
#48B973
accent
#E78041
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D