#871F4A#871F4A
#871F4A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 0.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #871F4A |
|---|---|
| RGB | rgb(135, 31, 74) |
| HSL | hsl(335, 63%, 33%) |
| HSV | hsv(335, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 45.2%, 47.1%) |
| CIE-LAB | lab(30.94, 46.52, 0.29) |
| CIE-LCH | lch(30.94, 46.52, 0.35°) |
| OKLab | oklab(42.34% 0.1428 0.0013) |
| OKLCH | oklch(42.34% 0.143 0.5) |
| XYZ | xyz(11.7186, 6.6268, 7.1393) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.71
Red Purple
#820747
ΔE00 3.15
Reddish Purple
#910951
ΔE00 3.18
Wine (survey)
#80013F
ΔE00 3.56
Berry
#990F4B
ΔE00 3.59
Purple Red
#990147
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F4A #1F875C
analogous
#871F7E #871F4A #87281F
triadic
#871F4A #4A871F #1F4A87
tetradic
#871F4A #7E871F #1F875C #281F87
square
#871F4A #7E871F #1F875C #281F87
split-complementary
#871F4A #1F8728 #1F7E87
monochromatic
#230813 #55142F #871F4A #B92A65 #D64B84
Accessibility & contrast
On white
9.03
#871F4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#871F4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F4A
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F4A | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#930D32
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f4a; /* rgb */ color: rgb(135, 31, 74); /* oklch */ color: oklch(42.3% 0.143 0.5);
Tailwind
colors: {
custom: {
50: '#af657c',
500: '#871f4a',
950: '#000000',
},
}SCSS
$custom: #871f4a; $custom-light: #af657c; $custom-dark: #000000;
JSON
{
"hex": "#871f4a",
"rgb": {
"r": 135,
"g": 31,
"b": 74
},
"hsl": {
"h": 335.192,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42336,
"c": 0.14279,
"h": 0.5
},
"luminance": 0.06625
}Semantic roles & 50–950 ramp
primary
#871F4A
secondary
#4AB88A
accent
#E6A242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B