#871D45#871D45
#871D45 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.143 H 3.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #871D45 |
|---|---|
| RGB | rgb(135, 29, 69) |
| HSL | hsl(337, 65%, 32%) |
| HSV | hsv(337, 79%, 53%) |
| CMYK | cmyk(0%, 78.5%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.55, 46.71, 3.02) |
| CIE-LCH | lch(30.55, 46.81, 3.70°) |
| OKLab | oklab(42% 0.1431 0.0082) |
| OKLCH | oklch(42% 0.143 3.3) |
| XYZ | xyz(11.5062, 6.4609, 6.2702) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.36
Mulberry
#920A4E
ΔE00 3.41
Berry
#990F4B
ΔE00 3.42
Purple Red
#990147
ΔE00 3.55
Red Purple
#820747
ΔE00 3.80
Reddish Purple
#910951
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871D45 #1D875F
analogous
#871D7A #871D45 #872A1D
triadic
#871D45 #45871D #1D4587
tetradic
#871D45 #7A871D #1D875F #2A1D87
square
#871D45 #7A871D #1D875F #2A1D87
split-complementary
#871D45 #1D872A #1D7A87
monochromatic
#220712 #55122B #871D45 #B9285F #D7477D
Accessibility & contrast
On white
9.16
#871D45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#871D45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871D45
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871D45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871D45 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#93042E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871d45; /* rgb */ color: rgb(135, 29, 69); /* oklch */ color: oklch(42.0% 0.143 3.3);
Tailwind
colors: {
custom: {
50: '#af6478',
500: '#871d45',
950: '#000000',
},
}SCSS
$custom: #871d45; $custom-light: #af6478; $custom-dark: #000000;
JSON
{
"hex": "#871d45",
"rgb": {
"r": 135,
"g": 29,
"b": 69
},
"hsl": {
"h": 337.358,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.41995,
"c": 0.14336,
"h": 3.3
},
"luminance": 0.06459
}Semantic roles & 50–950 ramp
primary
#871D45
secondary
#46B98E
accent
#E8A840
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B