#871E40#871E40
#871E40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.141 H 6.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #871E40 |
|---|---|
| RGB | rgb(135, 30, 64) |
| HSL | hsl(341, 64%, 32%) |
| HSV | hsv(341, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.52, 45.92, 6.30) |
| CIE-LCH | lch(30.52, 46.35, 7.81°) |
| OKLab | oklab(41.93% 0.1401 0.0164) |
| OKLCH | oklch(41.93% 0.141 6.7) |
| XYZ | xyz(11.3824, 6.4512, 5.4953) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.71
Purple Red
#990147
ΔE00 3.92
Berry
#990F4B
ΔE00 4.07
Wine (survey)
#80013F
ΔE00 4.32
Mulberry
#920A4E
ΔE00 4.91
Bordeaux
#7B002C
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E40 #1E8765
analogous
#871E75 #871E40 #87301E
triadic
#871E40 #40871E #1E4087
tetradic
#871E40 #75871E #1E8765 #301E87
square
#871E40 #75871E #1E8765 #301E87
split-complementary
#871E40 #1E8730 #1E7587
monochromatic
#230811 #551328 #871E40 #B92958 #D74977
Accessibility & contrast
On white
9.17
#871E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#871E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E40
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E40 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B41
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#94022C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871e40; /* rgb */ color: rgb(135, 30, 64); /* oklch */ color: oklch(41.9% 0.141 6.7);
Tailwind
colors: {
custom: {
50: '#af6474',
500: '#871e40',
950: '#000000',
},
}SCSS
$custom: #871e40; $custom-light: #af6474; $custom-dark: #000000;
JSON
{
"hex": "#871e40",
"rgb": {
"r": 135,
"g": 30,
"b": 64
},
"hsl": {
"h": 340.571,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.41931,
"c": 0.14106,
"h": 6.7
},
"luminance": 0.0645
}Semantic roles & 50–950 ramp
primary
#871E40
secondary
#48B994
accent
#E7B141
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B