#871F56#871F56
#871F56 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 353.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #871F56 |
|---|---|
| RGB | rgb(135, 31, 86) |
| HSL | hsl(328, 63%, 33%) |
| HSV | hsv(328, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 36.3%, 47.1%) |
| CIE-LAB | lab(31.36, 47.83, -6.98) |
| CIE-LCH | lch(31.36, 48.34, 351.70°) |
| OKLab | oklab(42.78% 0.1467 -0.0179) |
| OKLCH | oklch(42.78% 0.148 353) |
| XYZ | xyz(12.1621, 6.8042, 9.4752) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.90
Dark Magenta
#960056
ΔE00 3.27
Mulberry
#920A4E
ΔE00 3.64
Red Purple
#820747
ΔE00 3.71
Dark Fuchsia
#9D0759
ΔE00 4.23
Deep Magenta
#A0025C
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F56 #1F8750
analogous
#841F87 #871F56 #871F22
triadic
#871F56 #56871F #1F5687
tetradic
#871F56 #87841F #1F8750 #1F2287
square
#871F56 #87841F #1F8750 #1F2287
split-complementary
#871F56 #22871F #1F8784
monochromatic
#230817 #551436 #871F56 #B92A76 #D64B94
Accessibility & contrast
On white
8.90
#871F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#871F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F56
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F56 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#921538
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #871f56; /* rgb */ color: rgb(135, 31, 86); /* oklch */ color: oklch(42.8% 0.148 353.0);
Tailwind
colors: {
custom: {
50: '#ae6585',
500: '#871f56',
950: '#000000',
},
}SCSS
$custom: #871f56; $custom-light: #ae6585; $custom-dark: #000000;
JSON
{
"hex": "#871f56",
"rgb": {
"r": 135,
"g": 31,
"b": 86
},
"hsl": {
"h": 328.269,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42776,
"c": 0.14778,
"h": 353
},
"luminance": 0.06803
}Semantic roles & 50–950 ramp
primary
#871F56
secondary
#4AB87E
accent
#E68F42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C