#871F42#871F42
#871F42 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 5.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #871F42 |
|---|---|
| RGB | rgb(135, 31, 66) |
| HSL | hsl(340, 63%, 33%) |
| HSV | hsv(340, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 51.1%, 47.1%) |
| CIE-LAB | lab(30.70, 45.75, 5.23) |
| CIE-LCH | lch(30.70, 46.05, 6.52°) |
| OKLab | oklab(42.08% 0.1398 0.0137) |
| OKLCH | oklch(42.08% 0.14 5.6) |
| XYZ | xyz(11.4660, 6.5258, 5.8090) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.78
Berry
#990F4B
ΔE00 3.81
Wine (survey)
#80013F
ΔE00 4.10
Red Wine
#8C0034
ΔE00 4.23
Mulberry
#920A4E
ΔE00 4.46
Red Purple
#820747
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F42 #1F8764
analogous
#871F76 #871F42 #87301F
triadic
#871F42 #42871F #1F4287
tetradic
#871F42 #76871F #1F8764 #301F87
square
#871F42 #76871F #1F8764 #301F87
split-complementary
#871F42 #1F8730 #1F7687
monochromatic
#230811 #55142A #871F42 #B92A5A #D64B7A
Accessibility & contrast
On white
9.11
#871F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#871F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F42
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F42 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#93062E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871f42; /* rgb */ color: rgb(135, 31, 66); /* oklch */ color: oklch(42.1% 0.140 5.6);
Tailwind
colors: {
custom: {
50: '#af6576',
500: '#871f42',
950: '#000000',
},
}SCSS
$custom: #871f42; $custom-light: #af6576; $custom-dark: #000000;
JSON
{
"hex": "#871f42",
"rgb": {
"r": 135,
"g": 31,
"b": 66
},
"hsl": {
"h": 339.808,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42081,
"c": 0.14045,
"h": 5.6
},
"luminance": 0.06524
}Semantic roles & 50–950 ramp
primary
#871F42
secondary
#4AB893
accent
#E6AF42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B