#871E47#871E47
#871E47 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 2.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #871E47 |
|---|---|
| RGB | rgb(135, 30, 71) |
| HSL | hsl(337, 64%, 32%) |
| HSV | hsv(337, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 47.4%, 47.1%) |
| CIE-LAB | lab(30.73, 46.57, 1.95) |
| CIE-LCH | lch(30.73, 46.61, 2.40°) |
| OKLab | oklab(42.15% 0.1428 0.0055) |
| OKLCH | oklch(42.15% 0.143 2.2) |
| XYZ | xyz(11.5942, 6.5359, 6.6110) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.09
Wine (survey)
#80013F
ΔE00 3.39
Berry
#990F4B
ΔE00 3.41
Red Purple
#820747
ΔE00 3.51
Purple Red
#990147
ΔE00 3.69
Reddish Purple
#910951
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E47 #1E875E
analogous
#871E7C #871E47 #87291E
triadic
#871E47 #47871E #1E4787
tetradic
#871E47 #7C871E #1E875E #291E87
square
#871E47 #7C871E #1E875E #291E87
split-complementary
#871E47 #1E8729 #1E7C87
monochromatic
#230812 #55132D #871E47 #B92961 #D74980
Accessibility & contrast
On white
9.10
#871E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E47
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E47 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930830
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871e47; /* rgb */ color: rgb(135, 30, 71); /* oklch */ color: oklch(42.1% 0.143 2.2);
Tailwind
colors: {
custom: {
50: '#af647a',
500: '#871e47',
950: '#000000',
},
}SCSS
$custom: #871e47; $custom-light: #af647a; $custom-dark: #000000;
JSON
{
"hex": "#871e47",
"rgb": {
"r": 135,
"g": 30,
"b": 71
},
"hsl": {
"h": 336.571,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.42147,
"c": 0.1429,
"h": 2.2
},
"luminance": 0.06534
}Semantic roles & 50–950 ramp
primary
#871E47
secondary
#48B98D
accent
#E7A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B