#871842#871842
#871842 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 4.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #871842 |
|---|---|
| RGB | rgb(135, 24, 66) |
| HSL | hsl(337, 70%, 31%) |
| HSV | hsv(337, 82%, 53%) |
| CMYK | cmyk(0%, 82.2%, 51.1%, 47.1%) |
| CIE-LAB | lab(29.91, 47.99, 4.10) |
| CIE-LCH | lch(29.91, 48.17, 4.88°) |
| OKLab | oklab(41.5% 0.147 0.0109) |
| OKLCH | oklch(41.5% 0.147 4.2) |
| XYZ | xyz(11.3027, 6.1991, 5.7546) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.02
Purple Red
#990147
ΔE00 3.38
Berry
#990F4B
ΔE00 3.50
Mulberry
#920A4E
ΔE00 3.67
Red Purple
#820747
ΔE00 3.88
Red Wine
#8C0034
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871842 #18875D
analogous
#871879 #871842 #872518
triadic
#871842 #428718 #184287
tetradic
#871842 #798718 #18875D #251887
square
#871842 #798718 #18875D #251887
split-complementary
#871842 #188725 #187987
monochromatic
#1F060F #530F29 #871842 #BB215B #DC3D79
Accessibility & contrast
On white
9.38
#871842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871842
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871842 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#93002B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871842; /* rgb */ color: rgb(135, 24, 66); /* oklch */ color: oklch(41.5% 0.147 4.2);
Tailwind
colors: {
custom: {
50: '#b06276',
500: '#871842',
950: '#000000',
},
}SCSS
$custom: #871842; $custom-light: #b06276; $custom-dark: #000000;
JSON
{
"hex": "#871842",
"rgb": {
"r": 135,
"g": 24,
"b": 66
},
"hsl": {
"h": 337.297,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.41498,
"c": 0.1474,
"h": 4.2
},
"luminance": 0.06198
}Semantic roles & 50–950 ramp
primary
#871842
secondary
#40BB8C
accent
#EDA93B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B