#871F48#871F48
#871F48 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 1.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #871F48 |
|---|---|
| RGB | rgb(135, 31, 72) |
| HSL | hsl(336, 63%, 33%) |
| HSV | hsv(336, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 46.7%, 47.1%) |
| CIE-LAB | lab(30.88, 46.32, 1.52) |
| CIE-LCH | lch(30.88, 46.35, 1.87°) |
| OKLab | oklab(42.27% 0.1421 0.0044) |
| OKLCH | oklch(42.27% 0.142 1.8) |
| XYZ | xyz(11.6523, 6.6003, 6.7900) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.02
Berry
#990F4B
ΔE00 3.46
Red Purple
#820747
ΔE00 3.48
Wine (survey)
#80013F
ΔE00 3.51
Reddish Purple
#910951
ΔE00 3.63
Purple Red
#990147
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F48 #1F875E
analogous
#871F7C #871F48 #872A1F
triadic
#871F48 #48871F #1F4887
tetradic
#871F48 #7C871F #1F875E #2A1F87
square
#871F48 #7C871F #1F875E #2A1F87
split-complementary
#871F48 #1F872A #1F7C87
monochromatic
#230813 #55142D #871F48 #B92A63 #D64B82
Accessibility & contrast
On white
9.05
#871F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#871F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F48
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F48 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#930B31
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f48; /* rgb */ color: rgb(135, 31, 72); /* oklch */ color: oklch(42.3% 0.142 1.8);
Tailwind
colors: {
custom: {
50: '#af657a',
500: '#871f48',
950: '#000000',
},
}SCSS
$custom: #871f48; $custom-light: #af657a; $custom-dark: #000000;
JSON
{
"hex": "#871f48",
"rgb": {
"r": 135,
"g": 31,
"b": 72
},
"hsl": {
"h": 336.346,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42269,
"c": 0.14212,
"h": 1.8
},
"luminance": 0.06599
}Semantic roles & 50–950 ramp
primary
#871F48
secondary
#4AB88D
accent
#E6A542
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B