#871E4A#871E4A
#871E4A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.144 H 0.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #871E4A |
|---|---|
| RGB | rgb(135, 30, 74) |
| HSL | hsl(335, 64%, 32%) |
| HSV | hsv(335, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 45.2%, 47.1%) |
| CIE-LAB | lab(30.82, 46.86, 0.11) |
| CIE-LCH | lch(30.82, 46.86, 0.13°) |
| OKLab | oklab(42.25% 0.1439 0.0008) |
| OKLCH | oklch(42.25% 0.144 0.3) |
| XYZ | xyz(11.6929, 6.5754, 7.1307) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.60
Red Purple
#820747
ΔE00 2.99
Reddish Purple
#910951
ΔE00 3.05
Wine (survey)
#80013F
ΔE00 3.44
Berry
#990F4B
ΔE00 3.59
Purple Red
#990147
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E4A #1E875B
analogous
#871E7F #871E4A #87271E
triadic
#871E4A #4A871E #1E4A87
tetradic
#871E4A #7F871E #1E875B #271E87
square
#871E4A #7F871E #1E875B #271E87
split-complementary
#871E4A #1E8727 #1E7F87
monochromatic
#230813 #55132F #871E4A #B92965 #D74984
Accessibility & contrast
On white
9.07
#871E4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871E4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E4A
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E4A | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#930B31
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871e4a; /* rgb */ color: rgb(135, 30, 74); /* oklch */ color: oklch(42.2% 0.144 0.3);
Tailwind
colors: {
custom: {
50: '#af657c',
500: '#871e4a',
950: '#000000',
},
}SCSS
$custom: #871e4a; $custom-light: #af657c; $custom-dark: #000000;
JSON
{
"hex": "#871e4a",
"rgb": {
"r": 135,
"g": 30,
"b": 74
},
"hsl": {
"h": 334.857,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.42247,
"c": 0.14387,
"h": 0.3
},
"luminance": 0.06574
}Semantic roles & 50–950 ramp
primary
#871E4A
secondary
#48B98A
accent
#E7A141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B