#871B45#871B45
#871B45 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.145 H 2.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #871B45 |
|---|---|
| RGB | rgb(135, 27, 69) |
| HSL | hsl(337, 67%, 32%) |
| HSV | hsv(337, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.32, 47.36, 2.69) |
| CIE-LCH | lch(30.32, 47.43, 3.25°) |
| OKLab | oklab(41.83% 0.1452 0.0074) |
| OKLCH | oklch(41.83% 0.145 2.9) |
| XYZ | xyz(11.4588, 6.3660, 6.2544) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.08
Mulberry
#920A4E
ΔE00 3.19
Berry
#990F4B
ΔE00 3.38
Purple Red
#990147
ΔE00 3.49
Red Purple
#820747
ΔE00 3.50
Reddish Purple
#910951
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B45 #1B875D
analogous
#871B7B #871B45 #87271B
triadic
#871B45 #45871B #1B4587
tetradic
#871B45 #7B871B #1B875D #271B87
square
#871B45 #7B871B #1B875D #271B87
split-complementary
#871B45 #1B8727 #1B7B87
monochromatic
#210711 #54112B #871B45 #BA255F #D9437D
Accessibility & contrast
On white
9.24
#871B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#871B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B45
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B45 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871b45; /* rgb */ color: rgb(135, 27, 69); /* oklch */ color: oklch(41.8% 0.145 2.9);
Tailwind
colors: {
custom: {
50: '#af6378',
500: '#871b45',
950: '#000000',
},
}SCSS
$custom: #871b45; $custom-light: #af6378; $custom-dark: #000000;
JSON
{
"hex": "#871b45",
"rgb": {
"r": 135,
"g": 27,
"b": 69
},
"hsl": {
"h": 336.667,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41827,
"c": 0.14539,
"h": 2.9
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#871B45
secondary
#44BA8C
accent
#EAA73E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B