#871C5F#871C5F
#871C5F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 347.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #871C5F |
|---|---|
| RGB | rgb(135, 28, 95) |
| HSL | hsl(322, 66%, 32%) |
| HSV | hsv(322, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 29.6%, 47.1%) |
| CIE-LAB | lab(31.37, 49.91, -12.82) |
| CIE-LCH | lch(31.37, 51.53, 345.60°) |
| OKLab | oklab(42.9% 0.1521 -0.0338) |
| OKLCH | oklch(42.9% 0.156 347.5) |
| XYZ | xyz(12.4731, 6.8091, 11.4817) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.22
Dark Magenta
#960056
ΔE00 4.46
Velvet
#750851
ΔE00 4.54
Reddish Purple
#910951
ΔE00 4.82
Dark Fuchsia
#9D0759
ΔE00 5.42
Deep Magenta
#A0025C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C5F #1C8744
analogous
#7A1C87 #871C5F #871C2A
triadic
#871C5F #5F871C #1C5F87
tetradic
#871C5F #877A1C #1C8744 #1C2A87
square
#871C5F #877A1C #1C8744 #1C2A87
split-complementary
#871C5F #2A871C #1C877A
monochromatic
#220718 #54113B #871C5F #BA2783 #D845A1
Accessibility & contrast
On white
8.89
#871C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#871C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C5F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C5F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#4C505D
Tritanopia (blue-blind)
#91173B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871c5f; /* rgb */ color: rgb(135, 28, 95); /* oklch */ color: oklch(42.9% 0.156 347.5);
Tailwind
colors: {
custom: {
50: '#ae658c',
500: '#871c5f',
950: '#000000',
},
}SCSS
$custom: #871c5f; $custom-light: #ae658c; $custom-dark: #000000;
JSON
{
"hex": "#871c5f",
"rgb": {
"r": 135,
"g": 28,
"b": 95
},
"hsl": {
"h": 322.43,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.42902,
"c": 0.15584,
"h": 347.5
},
"luminance": 0.06808
}Semantic roles & 50–950 ramp
primary
#871C5F
secondary
#45BA71
accent
#E97F3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D