#871947#871947
#871947 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 1.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #871947 |
|---|---|
| RGB | rgb(135, 25, 71) |
| HSL | hsl(335, 69%, 31%) |
| HSV | hsv(335, 81%, 53%) |
| CMYK | cmyk(0%, 81.5%, 47.4%, 47.1%) |
| CIE-LAB | lab(30.16, 48.16, 1.14) |
| CIE-LCH | lch(30.16, 48.17, 1.35°) |
| OKLab | oklab(41.73% 0.1479 0.0035) |
| OKLCH | oklch(41.73% 0.148 1.3) |
| XYZ | xyz(11.4776, 6.3027, 6.5722) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.59
Red Purple
#820747
ΔE00 2.75
Wine (survey)
#80013F
ΔE00 2.78
Reddish Purple
#910951
ΔE00 3.19
Berry
#990F4B
ΔE00 3.42
Purple Red
#990147
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871947 #198759
analogous
#87197E #871947 #872219
triadic
#871947 #478719 #194787
tetradic
#871947 #7E8719 #198759 #221987
square
#871947 #7E8719 #198759 #221987
split-complementary
#871947 #198722 #197E87
monochromatic
#200611 #530F2C #871947 #BB2362 #DB3F80
Accessibility & contrast
On white
9.29
#871947 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871947 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871947
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871947 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#514F44
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871947; /* rgb */ color: rgb(135, 25, 71); /* oklch */ color: oklch(41.7% 0.148 1.3);
Tailwind
colors: {
custom: {
50: '#af637a',
500: '#871947',
950: '#000000',
},
}SCSS
$custom: #871947; $custom-light: #af637a; $custom-dark: #000000;
JSON
{
"hex": "#871947",
"rgb": {
"r": 135,
"g": 25,
"b": 71
},
"hsl": {
"h": 334.909,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.41734,
"c": 0.14794,
"h": 1.3
},
"luminance": 0.06301
}Semantic roles & 50–950 ramp
primary
#871947
secondary
#41BA88
accent
#ECA23C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B