#871942#871942
#871942 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.146 H 4.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #871942 |
|---|---|
| RGB | rgb(135, 25, 66) |
| HSL | hsl(338, 69%, 31%) |
| HSV | hsv(338, 81%, 53%) |
| CMYK | cmyk(0%, 81.5%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.01, 47.70, 4.25) |
| CIE-LCH | lch(30.01, 47.89, 5.09°) |
| OKLab | oklab(41.57% 0.1461 0.0113) |
| OKLCH | oklch(41.57% 0.146 4.4) |
| XYZ | xyz(11.3237, 6.2411, 5.7616) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.15
Purple Red
#990147
ΔE00 3.41
Berry
#990F4B
ΔE00 3.52
Mulberry
#920A4E
ΔE00 3.76
Red Purple
#820747
ΔE00 4.02
Red Wine
#8C0034
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871942 #19875E
analogous
#871979 #871942 #872719
triadic
#871942 #428719 #194287
tetradic
#871942 #798719 #19875E #271987
square
#871942 #798719 #19875E #271987
split-complementary
#871942 #198727 #197987
monochromatic
#200610 #530F29 #871942 #BB235B #DB3F79
Accessibility & contrast
On white
9.34
#871942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#871942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871942
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871942 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#93002B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871942; /* rgb */ color: rgb(135, 25, 66); /* oklch */ color: oklch(41.6% 0.146 4.4);
Tailwind
colors: {
custom: {
50: '#af6276',
500: '#871942',
950: '#000000',
},
}SCSS
$custom: #871942; $custom-light: #af6276; $custom-dark: #000000;
JSON
{
"hex": "#871942",
"rgb": {
"r": 135,
"g": 25,
"b": 66
},
"hsl": {
"h": 337.636,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.41574,
"c": 0.14648,
"h": 4.4
},
"luminance": 0.0624
}Semantic roles & 50–950 ramp
primary
#871942
secondary
#41BA8D
accent
#ECAA3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B