#871C40#871C40
#871C40 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.143 H 6.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #871C40 |
|---|---|
| RGB | rgb(135, 28, 64) |
| HSL | hsl(340, 66%, 32%) |
| HSV | hsv(340, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.29, 46.59, 5.97) |
| CIE-LCH | lch(30.29, 46.97, 7.30°) |
| OKLab | oklab(41.76% 0.1423 0.0155) |
| OKLCH | oklch(41.76% 0.143 6.2) |
| XYZ | xyz(11.3334, 6.3532, 5.4790) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.71
Purple Red
#990147
ΔE00 3.74
Berry
#990F4B
ΔE00 3.93
Wine (survey)
#80013F
ΔE00 3.99
Mulberry
#920A4E
ΔE00 4.66
Red Purple
#820747
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C40 #1C8763
analogous
#871C76 #871C40 #872E1C
triadic
#871C40 #40871C #1C4087
tetradic
#871C40 #76871C #1C8763 #2E1C87
square
#871C40 #76871C #1C8763 #2E1C87
split-complementary
#871C40 #1C872E #1C7687
monochromatic
#220710 #541128 #871C40 #BA2758 #D84577
Accessibility & contrast
On white
9.25
#871C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C40
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C40 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#94002C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871c40; /* rgb */ color: rgb(135, 28, 64); /* oklch */ color: oklch(41.8% 0.143 6.2);
Tailwind
colors: {
custom: {
50: '#af6374',
500: '#871c40',
950: '#000000',
},
}SCSS
$custom: #871c40; $custom-light: #af6374; $custom-dark: #000000;
JSON
{
"hex": "#871c40",
"rgb": {
"r": 135,
"g": 28,
"b": 64
},
"hsl": {
"h": 339.813,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41757,
"c": 0.14311,
"h": 6.2
},
"luminance": 0.06352
}Semantic roles & 50–950 ramp
primary
#871C40
secondary
#45BA93
accent
#E9B03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B