#871E45#871E45
#871E45 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.142 H 3.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #871E45 |
|---|---|
| RGB | rgb(135, 30, 69) |
| HSL | hsl(338, 64%, 32%) |
| HSV | hsv(338, 78%, 53%) |
| CMYK | cmyk(0%, 77.8%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.67, 46.38, 3.19) |
| CIE-LCH | lch(30.67, 46.49, 3.94°) |
| OKLab | oklab(42.08% 0.142 0.0087) |
| OKLCH | oklch(42.08% 0.142 3.5) |
| XYZ | xyz(11.5311, 6.5107, 6.2785) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.45
Wine (survey)
#80013F
ΔE00 3.51
Mulberry
#920A4E
ΔE00 3.53
Purple Red
#990147
ΔE00 3.60
Red Purple
#820747
ΔE00 3.97
Reddish Purple
#910951
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871E45 #1E8760
analogous
#871E7A #871E45 #872B1E
triadic
#871E45 #45871E #1E4587
tetradic
#871E45 #7A871E #1E8760 #2B1E87
square
#871E45 #7A871E #1E8760 #2B1E87
split-complementary
#871E45 #1E872B #1E7A87
monochromatic
#230812 #55132B #871E45 #B9295F #D7497D
Accessibility & contrast
On white
9.12
#871E45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#871E45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871E45
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871E45 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#93062F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871e45; /* rgb */ color: rgb(135, 30, 69); /* oklch */ color: oklch(42.1% 0.142 3.5);
Tailwind
colors: {
custom: {
50: '#af6478',
500: '#871e45',
950: '#000000',
},
}SCSS
$custom: #871e45; $custom-light: #af6478; $custom-dark: #000000;
JSON
{
"hex": "#871e45",
"rgb": {
"r": 135,
"g": 30,
"b": 69
},
"hsl": {
"h": 337.714,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.42083,
"c": 0.1423,
"h": 3.5
},
"luminance": 0.06509
}Semantic roles & 50–950 ramp
primary
#871E45
secondary
#48B98F
accent
#E7A941
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B