#871C56#871C56
#871C56 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.151 H 352.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #871C56 |
|---|---|
| RGB | rgb(135, 28, 86) |
| HSL | hsl(327, 66%, 32%) |
| HSV | hsv(327, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 36.3%, 47.1%) |
| CIE-LAB | lab(31.01, 48.82, -7.50) |
| CIE-LCH | lch(31.01, 49.39, 351.26°) |
| OKLab | oklab(42.52% 0.1498 -0.0193) |
| OKLCH | oklch(42.52% 0.151 352.7) |
| XYZ | xyz(12.0874, 6.6548, 9.4503) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.85
Dark Magenta
#960056
ΔE00 3.13
Red Purple
#820747
ΔE00 3.58
Mulberry
#920A4E
ΔE00 3.67
Dark Fuchsia
#9D0759
ΔE00 4.23
Deep Magenta
#A0025C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C56 #1C874D
analogous
#831C87 #871C56 #871C20
triadic
#871C56 #56871C #1C5687
tetradic
#871C56 #87831C #1C874D #1C2087
square
#871C56 #87831C #1C874D #1C2087
split-complementary
#871C56 #20871C #1C8783
monochromatic
#220715 #541136 #871C56 #BA2776 #D84595
Accessibility & contrast
On white
9.01
#871C56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#871C56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C56
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C56 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303D57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#921136
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871c56; /* rgb */ color: rgb(135, 28, 86); /* oklch */ color: oklch(42.5% 0.151 352.7);
Tailwind
colors: {
custom: {
50: '#ae6485',
500: '#871c56',
950: '#000000',
},
}SCSS
$custom: #871c56; $custom-light: #ae6485; $custom-dark: #000000;
JSON
{
"hex": "#871c56",
"rgb": {
"r": 135,
"g": 28,
"b": 86
},
"hsl": {
"h": 327.477,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.42521,
"c": 0.15106,
"h": 352.7
},
"luminance": 0.06653
}Semantic roles & 50–950 ramp
primary
#871C56
secondary
#45BA7A
accent
#E98D3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C