#871A4D#871A4D
#871A4D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 357.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #871A4D |
|---|---|
| RGB | rgb(135, 26, 77) |
| HSL | hsl(332, 68%, 32%) |
| HSV | hsv(332, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 43%, 47.1%) |
| CIE-LAB | lab(30.47, 48.45, -2.39) |
| CIE-LCH | lch(30.47, 48.51, 357.17°) |
| OKLab | oklab(42.02% 0.149 -0.0057) |
| OKLCH | oklch(42.02% 0.149 357.8) |
| XYZ | xyz(11.7015, 6.4270, 7.6441) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.17
Mulberry
#920A4E
ΔE00 2.22
Red Purple
#820747
ΔE00 2.23
Dark Magenta
#960056
ΔE00 3.37
Wine (survey)
#80013F
ΔE00 3.50
Berry
#990F4B
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A4D #1A8754
analogous
#871A84 #871A4D #871E1A
triadic
#871A4D #4D871A #1A4D87
tetradic
#871A4D #84871A #1A8754 #1E1A87
square
#871A4D #84871A #1A8754 #1E1A87
split-complementary
#871A4D #1A871E #1A8487
monochromatic
#200612 #541030 #871A4D #BA246A #DA4189
Accessibility & contrast
On white
9.19
#871A4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#871A4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A4D
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A4D | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#930531
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871a4d; /* rgb */ color: rgb(135, 26, 77); /* oklch */ color: oklch(42.0% 0.149 357.8);
Tailwind
colors: {
custom: {
50: '#af637e',
500: '#871a4d',
950: '#000000',
},
}SCSS
$custom: #871a4d; $custom-light: #af637e; $custom-dark: #000000;
JSON
{
"hex": "#871a4d",
"rgb": {
"r": 135,
"g": 26,
"b": 77
},
"hsl": {
"h": 331.927,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.42019,
"c": 0.14913,
"h": 357.8
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#871A4D
secondary
#42BA82
accent
#EB993D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C