#871F40#871F40
#871F40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 6.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #871F40 |
|---|---|
| RGB | rgb(135, 31, 64) |
| HSL | hsl(341, 63%, 33%) |
| HSV | hsv(341, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 52.6%, 47.1%) |
| CIE-LAB | lab(30.65, 45.58, 6.48) |
| CIE-LCH | lch(30.65, 46.03, 8.09°) |
| OKLab | oklab(42.02% 0.139 0.0168) |
| OKLCH | oklch(42.02% 0.14 6.9) |
| XYZ | xyz(11.4081, 6.5026, 5.5039) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.73
Purple Red
#990147
ΔE00 4.02
Berry
#990F4B
ΔE00 4.16
Wine (survey)
#80013F
ΔE00 4.50
Mulberry
#920A4E
ΔE00 5.05
Bordeaux
#7B002C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F40 #1F8766
analogous
#871F74 #871F40 #87321F
triadic
#871F40 #40871F #1F4087
tetradic
#871F40 #74871F #1F8766 #321F87
square
#871F40 #74871F #1F8766 #321F87
split-complementary
#871F40 #1F8732 #1F7487
monochromatic
#230811 #551428 #871F40 #B92A58 #D64B77
Accessibility & contrast
On white
9.13
#871F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#871F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F40
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F40 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#54503D
Tritanopia (blue-blind)
#94042D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871f40; /* rgb */ color: rgb(135, 31, 64); /* oklch */ color: oklch(42.0% 0.140 6.9);
Tailwind
colors: {
custom: {
50: '#af6574',
500: '#871f40',
950: '#000000',
},
}SCSS
$custom: #871f40; $custom-light: #af6574; $custom-dark: #000000;
JSON
{
"hex": "#871f40",
"rgb": {
"r": 135,
"g": 31,
"b": 64
},
"hsl": {
"h": 340.962,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42022,
"c": 0.14001,
"h": 6.9
},
"luminance": 0.06501
}Semantic roles & 50–950 ramp
primary
#871F40
secondary
#4AB895
accent
#E6B242
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B