#871D56#871D56
#871D56 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.150 H 352.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #871D56 |
|---|---|
| RGB | rgb(135, 29, 86) |
| HSL | hsl(328, 65%, 32%) |
| HSV | hsv(328, 79%, 53%) |
| CMYK | cmyk(0%, 78.5%, 36.3%, 47.1%) |
| CIE-LAB | lab(31.12, 48.50, -7.33) |
| CIE-LCH | lch(31.12, 49.05, 351.40°) |
| OKLab | oklab(42.6% 0.1488 -0.0188) |
| OKLCH | oklch(42.6% 0.15 352.8) |
| XYZ | xyz(12.1115, 6.7030, 9.4583) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.86
Dark Magenta
#960056
ΔE00 3.17
Red Purple
#820747
ΔE00 3.61
Mulberry
#920A4E
ΔE00 3.66
Dark Fuchsia
#9D0759
ΔE00 4.22
Deep Magenta
#A0025C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871D56 #1D874E
analogous
#831D87 #871D56 #871D21
triadic
#871D56 #56871D #1D5687
tetradic
#871D56 #87831D #1D874E #1D2187
square
#871D56 #87831D #1D874E #1D2187
split-complementary
#871D56 #21871D #1D8783
monochromatic
#220716 #551236 #871D56 #B92876 #D74795
Accessibility & contrast
On white
8.97
#871D56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#871D56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871D56
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871D56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871D56 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#921237
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871d56; /* rgb */ color: rgb(135, 29, 86); /* oklch */ color: oklch(42.6% 0.150 352.8);
Tailwind
colors: {
custom: {
50: '#ae6585',
500: '#871d56',
950: '#000000',
},
}SCSS
$custom: #871d56; $custom-light: #ae6585; $custom-dark: #000000;
JSON
{
"hex": "#871d56",
"rgb": {
"r": 135,
"g": 29,
"b": 86
},
"hsl": {
"h": 327.736,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.42604,
"c": 0.14999,
"h": 352.8
},
"luminance": 0.06702
}Semantic roles & 50–950 ramp
primary
#871D56
secondary
#46B97C
accent
#E88E40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C