#871C4E#871C4E
#871C4E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 357.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #871C4E |
|---|---|
| RGB | rgb(135, 28, 78) |
| HSL | hsl(332, 66%, 32%) |
| HSV | hsv(332, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 42.2%, 47.1%) |
| CIE-LAB | lab(30.72, 47.94, -2.68) |
| CIE-LCH | lch(30.72, 48.01, 356.80°) |
| OKLab | oklab(42.22% 0.1474 -0.0064) |
| OKLCH | oklch(42.22% 0.147 357.5) |
| XYZ | xyz(11.7829, 6.5330, 7.8468) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.24
Mulberry
#920A4E
ΔE00 2.35
Red Purple
#820747
ΔE00 2.47
Dark Magenta
#960056
ΔE00 3.38
Wine (survey)
#80013F
ΔE00 3.78
Berry
#990F4B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C4E #1C8755
analogous
#871C84 #871C4E #87201C
triadic
#871C4E #4E871C #1C4E87
tetradic
#871C4E #84871C #1C8755 #201C87
square
#871C4E #84871C #1C8755 #201C87
split-complementary
#871C4E #1C8720 #1C8487
monochromatic
#220713 #541131 #871C4E #BA276B #D8458A
Accessibility & contrast
On white
9.11
#871C4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871C4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C4E
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C4E | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#930A32
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871c4e; /* rgb */ color: rgb(135, 28, 78); /* oklch */ color: oklch(42.2% 0.147 357.5);
Tailwind
colors: {
custom: {
50: '#af647f',
500: '#871c4e',
950: '#000000',
},
}SCSS
$custom: #871c4e; $custom-light: #af647f; $custom-dark: #000000;
JSON
{
"hex": "#871c4e",
"rgb": {
"r": 135,
"g": 28,
"b": 78
},
"hsl": {
"h": 331.963,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.42216,
"c": 0.14749,
"h": 357.5
},
"luminance": 0.06531
}Semantic roles & 50–950 ramp
primary
#871C4E
secondary
#45BA83
accent
#E9993F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C