#871B4A#871B4A
#871B4A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 359.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #871B4A |
|---|---|
| RGB | rgb(135, 27, 74) |
| HSL | hsl(334, 67%, 32%) |
| HSV | hsv(334, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 45.2%, 47.1%) |
| CIE-LAB | lab(30.47, 47.84, -0.40) |
| CIE-LCH | lch(30.47, 47.84, 359.52°) |
| OKLab | oklab(41.99% 0.147 -0.0005) |
| OKLCH | oklch(41.99% 0.147 359.8) |
| XYZ | xyz(11.6205, 6.4307, 7.1066) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.33
Red Purple
#820747
ΔE00 2.54
Reddish Purple
#910951
ΔE00 2.71
Wine (survey)
#80013F
ΔE00 3.15
Berry
#990F4B
ΔE00 3.65
Dark Magenta
#960056
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B4A #1B8758
analogous
#871B80 #871B4A #87221B
triadic
#871B4A #4A871B #1B4A87
tetradic
#871B4A #80871B #1B8758 #221B87
square
#871B4A #80871B #1B8758 #221B87
split-complementary
#871B4A #1B8722 #1B8087
monochromatic
#210712 #54112E #871B4A #BA2566 #D94384
Accessibility & contrast
On white
9.19
#871B4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#871B4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B4A
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B4A | 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)
#343B4B
Deuteranopia (green-blind)
#514F48
Tritanopia (blue-blind)
#930430
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871b4a; /* rgb */ color: rgb(135, 27, 74); /* oklch */ color: oklch(42.0% 0.147 359.8);
Tailwind
colors: {
custom: {
50: '#af637c',
500: '#871b4a',
950: '#000000',
},
}SCSS
$custom: #871b4a; $custom-light: #af637c; $custom-dark: #000000;
JSON
{
"hex": "#871b4a",
"rgb": {
"r": 135,
"g": 27,
"b": 74
},
"hsl": {
"h": 333.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41993,
"c": 0.14701,
"h": 359.8
},
"luminance": 0.06429
}Semantic roles & 50–950 ramp
primary
#871B4A
secondary
#44BA87
accent
#EA9F3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B