#871C46#871C46
#871C46 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 2.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #871C46 |
|---|---|
| RGB | rgb(135, 28, 70) |
| HSL | hsl(336, 66%, 32%) |
| HSV | hsv(336, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 48.1%, 47.1%) |
| CIE-LAB | lab(30.46, 47.13, 2.23) |
| CIE-LCH | lch(30.46, 47.19, 2.71°) |
| OKLab | oklab(41.94% 0.1446 0.0062) |
| OKLCH | oklch(41.94% 0.145 2.5) |
| XYZ | xyz(11.5134, 6.4252, 6.4271) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.07
Wine (survey)
#80013F
ΔE00 3.15
Berry
#990F4B
ΔE00 3.38
Red Purple
#820747
ΔE00 3.41
Purple Red
#990147
ΔE00 3.56
Reddish Purple
#910951
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C46 #1C875D
analogous
#871C7C #871C46 #87281C
triadic
#871C46 #46871C #1C4687
tetradic
#871C46 #7C871C #1C875D #281C87
square
#871C46 #7C871C #1C875D #281C87
split-complementary
#871C46 #1C8728 #1C7C87
monochromatic
#220711 #54112C #871C46 #BA2760 #D8457F
Accessibility & contrast
On white
9.19
#871C46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871C46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C46
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C46 | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A47
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#93032E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871c46; /* rgb */ color: rgb(135, 28, 70); /* oklch */ color: oklch(41.9% 0.145 2.5);
Tailwind
colors: {
custom: {
50: '#af6479',
500: '#871c46',
950: '#000000',
},
}SCSS
$custom: #871c46; $custom-light: #af6479; $custom-dark: #000000;
JSON
{
"hex": "#871c46",
"rgb": {
"r": 135,
"g": 28,
"b": 70
},
"hsl": {
"h": 336.449,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41942,
"c": 0.14468,
"h": 2.5
},
"luminance": 0.06424
}Semantic roles & 50–950 ramp
primary
#871C46
secondary
#45BA8C
accent
#E9A63F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B