#871F41#871F41
#871F41 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 6.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #871F41 |
|---|---|
| RGB | rgb(135, 31, 65) |
| HSL | hsl(340, 63%, 33%) |
| HSV | hsv(340, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 51.9%, 47.1%) |
| CIE-LAB | lab(30.67, 45.66, 5.85) |
| CIE-LCH | lch(30.67, 46.04, 7.30°) |
| OKLab | oklab(42.05% 0.1394 0.0153) |
| OKLCH | oklch(42.05% 0.14 6.3) |
| XYZ | xyz(11.4368, 6.5141, 5.6551) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.88
Berry
#990F4B
ΔE00 3.97
Red Wine
#8C0034
ΔE00 3.98
Wine (survey)
#80013F
ΔE00 4.29
Mulberry
#920A4E
ΔE00 4.75
Red Purple
#820747
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F41 #1F8765
analogous
#871F75 #871F41 #87311F
triadic
#871F41 #41871F #1F4187
tetradic
#871F41 #75871F #1F8765 #311F87
square
#871F41 #75871F #1F8765 #311F87
split-complementary
#871F41 #1F8731 #1F7587
monochromatic
#230811 #551429 #871F41 #B92A59 #D64B78
Accessibility & contrast
On white
9.12
#871F41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#871F41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F41
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F41 | 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)
#393B42
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#93052D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871f41; /* rgb */ color: rgb(135, 31, 65); /* oklch */ color: oklch(42.1% 0.140 6.3);
Tailwind
colors: {
custom: {
50: '#af6575',
500: '#871f41',
950: '#000000',
},
}SCSS
$custom: #871f41; $custom-light: #af6575; $custom-dark: #000000;
JSON
{
"hex": "#871f41",
"rgb": {
"r": 135,
"g": 31,
"b": 65
},
"hsl": {
"h": 340.385,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42052,
"c": 0.14022,
"h": 6.3
},
"luminance": 0.06513
}Semantic roles & 50–950 ramp
primary
#871F41
secondary
#4AB894
accent
#E6B042
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B