#8E1B47#8E1B47
#8E1B47 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.152 H 3.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1B47 |
|---|---|
| RGB | rgb(142, 27, 71) |
| HSL | hsl(337, 68%, 33%) |
| HSV | hsv(337, 81%, 56%) |
| CMYK | cmyk(0%, 81%, 50%, 44.3%) |
| CIE-LAB | lab(31.79, 49.54, 3.66) |
| CIE-LCH | lch(31.79, 49.68, 4.23°) |
| OKLab | oklab(43.18% 0.1518 0.0099) |
| OKLCH | oklch(43.18% 0.152 3.7) |
| XYZ | xyz(12.6857, 6.9913, 6.6415) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.15
Purple Red
#990147
ΔE00 2.37
Mulberry
#920A4E
ΔE00 2.95
Reddish Purple
#910951
ΔE00 3.89
Wine (survey)
#80013F
ΔE00 4.15
Red Purple
#820747
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1B47 #1B8E62
analogous
#8E1B80 #8E1B47 #8E281B
triadic
#8E1B47 #478E1B #1B478E
tetradic
#8E1B47 #808E1B #1B8E62 #281B8E
square
#8E1B47 #808E1B #1B8E62 #281B8E
split-complementary
#8E1B47 #1B8E28 #1B808E
monochromatic
#270714 #5B112D #8E1B47 #C12561 #DC4780
Accessibility & contrast
On white
8.76
#8E1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8E1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1B47
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1B47 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1b47; /* rgb */ color: rgb(142, 27, 71); /* oklch */ color: oklch(43.2% 0.152 3.7);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8e1b47',
950: '#000000',
},
}SCSS
$custom: #8e1b47; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8e1b47",
"rgb": {
"r": 142,
"g": 27,
"b": 71
},
"hsl": {
"h": 337.043,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.4318,
"c": 0.15214,
"h": 3.7
},
"luminance": 0.0699
}Semantic roles & 50–950 ramp
primary
#8E1B47
secondary
#47BE90
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B