#871C45#871C45
#871C45 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.144 H 3.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #871C45 |
|---|---|
| RGB | rgb(135, 28, 69) |
| HSL | hsl(337, 66%, 32%) |
| HSV | hsv(337, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.43, 47.04, 2.85) |
| CIE-LCH | lch(30.43, 47.13, 3.47°) |
| OKLab | oklab(41.91% 0.1442 0.0078) |
| OKLCH | oklch(41.91% 0.144 3.1) |
| XYZ | xyz(11.4821, 6.4126, 6.2622) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.22
Mulberry
#920A4E
ΔE00 3.29
Berry
#990F4B
ΔE00 3.39
Purple Red
#990147
ΔE00 3.52
Red Purple
#820747
ΔE00 3.65
Reddish Purple
#910951
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C45 #1C875E
analogous
#871C7B #871C45 #87281C
triadic
#871C45 #45871C #1C4587
tetradic
#871C45 #7B871C #1C875E #281C87
square
#871C45 #7B871C #1C875E #281C87
split-complementary
#871C45 #1C8728 #1C7B87
monochromatic
#220711 #54112B #871C45 #BA275F #D8457D
Accessibility & contrast
On white
9.20
#871C45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#871C45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C45
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C45 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#93022E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871c45; /* rgb */ color: rgb(135, 28, 69); /* oklch */ color: oklch(41.9% 0.144 3.1);
Tailwind
colors: {
custom: {
50: '#af6478',
500: '#871c45',
950: '#000000',
},
}SCSS
$custom: #871c45; $custom-light: #af6478; $custom-dark: #000000;
JSON
{
"hex": "#871c45",
"rgb": {
"r": 135,
"g": 28,
"b": 69
},
"hsl": {
"h": 337.009,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.4191,
"c": 0.14439,
"h": 3.1
},
"luminance": 0.06411
}Semantic roles & 50–950 ramp
primary
#871C45
secondary
#45BA8D
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B