#871840#871840
#871840 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.147 H 5.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #871840 |
|---|---|
| RGB | rgb(135, 24, 64) |
| HSL | hsl(338, 70%, 31%) |
| HSV | hsv(338, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 52.6%, 47.1%) |
| CIE-LAB | lab(29.85, 47.82, 5.35) |
| CIE-LCH | lch(29.85, 48.12, 6.38°) |
| OKLab | oklab(41.44% 0.1462 0.014) |
| OKLCH | oklch(41.44% 0.147 5.5) |
| XYZ | xyz(11.2447, 6.1759, 5.4495) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.39
Purple Red
#990147
ΔE00 3.50
Berry
#990F4B
ΔE00 3.74
Red Wine
#8C0034
ΔE00 3.78
Mulberry
#920A4E
ΔE00 4.23
Red Purple
#820747
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871840 #18875F
analogous
#871877 #871840 #872718
triadic
#871840 #408718 #184087
tetradic
#871840 #778718 #18875F #271887
square
#871840 #778718 #18875F #271887
split-complementary
#871840 #188727 #187787
monochromatic
#1F060F #530F27 #871840 #BB2159 #DC3D76
Accessibility & contrast
On white
9.40
#871840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871840
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871840 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#524E3D
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871840; /* rgb */ color: rgb(135, 24, 64); /* oklch */ color: oklch(41.4% 0.147 5.5);
Tailwind
colors: {
custom: {
50: '#b06274',
500: '#871840',
950: '#000000',
},
}SCSS
$custom: #871840; $custom-light: #b06274; $custom-dark: #000000;
JSON
{
"hex": "#871840",
"rgb": {
"r": 135,
"g": 24,
"b": 64
},
"hsl": {
"h": 338.378,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.41437,
"c": 0.1469,
"h": 5.5
},
"luminance": 0.06174
}Semantic roles & 50–950 ramp
primary
#871840
secondary
#40BB8F
accent
#EDAD3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B