#871F47#871F47
#871F47 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 2.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #871F47 |
|---|---|
| RGB | rgb(135, 31, 71) |
| HSL | hsl(337, 63%, 33%) |
| HSV | hsv(337, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 47.4%, 47.1%) |
| CIE-LAB | lab(30.85, 46.22, 2.13) |
| CIE-LCH | lch(30.85, 46.27, 2.64°) |
| OKLab | oklab(42.24% 0.1417 0.006) |
| OKLCH | oklch(42.24% 0.142 2.4) |
| XYZ | xyz(11.6199, 6.5873, 6.6196) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.21
Berry
#990F4B
ΔE00 3.44
Wine (survey)
#80013F
ΔE00 3.53
Red Purple
#820747
ΔE00 3.68
Purple Red
#990147
ΔE00 3.72
Reddish Purple
#910951
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F47 #1F875F
analogous
#871F7B #871F47 #872B1F
triadic
#871F47 #47871F #1F4787
tetradic
#871F47 #7B871F #1F875F #2B1F87
square
#871F47 #7B871F #1F875F #2B1F87
split-complementary
#871F47 #1F872B #1F7B87
monochromatic
#230813 #55142D #871F47 #B92A61 #D64B80
Accessibility & contrast
On white
9.06
#871F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#871F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F47
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F47 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930A30
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f47; /* rgb */ color: rgb(135, 31, 71); /* oklch */ color: oklch(42.2% 0.142 2.4);
Tailwind
colors: {
custom: {
50: '#af657a',
500: '#871f47',
950: '#000000',
},
}SCSS
$custom: #871f47; $custom-light: #af657a; $custom-dark: #000000;
JSON
{
"hex": "#871f47",
"rgb": {
"r": 135,
"g": 31,
"b": 71
},
"hsl": {
"h": 336.923,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42237,
"c": 0.14182,
"h": 2.4
},
"luminance": 0.06586
}Semantic roles & 50–950 ramp
primary
#871F47
secondary
#4AB88E
accent
#E6A742
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B