#8E1B48#8E1B48
#8E1B48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.152 H 3.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1B48 |
|---|---|
| RGB | rgb(142, 27, 72) |
| HSL | hsl(337, 68%, 33%) |
| HSV | hsv(337, 81%, 56%) |
| CMYK | cmyk(0%, 81%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.82, 49.63, 3.05) |
| CIE-LCH | lch(31.82, 49.73, 3.51°) |
| OKLab | oklab(43.21% 0.1522 0.0083) |
| OKLCH | oklch(43.21% 0.152 3.1) |
| XYZ | xyz(12.7181, 7.0043, 6.8119) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.09
Purple Red
#990147
ΔE00 2.41
Mulberry
#920A4E
ΔE00 2.67
Reddish Purple
#910951
ΔE00 3.60
Wine (survey)
#80013F
ΔE00 4.08
Red Purple
#820747
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1B48 #1B8E61
analogous
#8E1B81 #8E1B48 #8E281B
triadic
#8E1B48 #488E1B #1B488E
tetradic
#8E1B48 #818E1B #1B8E61 #281B8E
square
#8E1B48 #818E1B #1B8E61 #281B8E
split-complementary
#8E1B48 #1B8E28 #1B818E
monochromatic
#270714 #5B112E #8E1B48 #C12562 #DC4782
Accessibility & contrast
On white
8.75
#8E1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8E1B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1B48
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1B48 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1b48; /* rgb */ color: rgb(142, 27, 72); /* oklch */ color: oklch(43.2% 0.152 3.1);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8e1b48',
950: '#000000',
},
}SCSS
$custom: #8e1b48; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8e1b48",
"rgb": {
"r": 142,
"g": 27,
"b": 72
},
"hsl": {
"h": 336.522,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.43211,
"c": 0.15242,
"h": 3.1
},
"luminance": 0.07003
}Semantic roles & 50–950 ramp
primary
#8E1B48
secondary
#47BE8F
accent
#EBA73D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B