#8E1A48#8E1A48
#8E1A48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.153 H 3.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A48 |
|---|---|
| RGB | rgb(142, 26, 72) |
| HSL | hsl(336, 69%, 33%) |
| HSV | hsv(336, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.71, 49.92, 2.90) |
| CIE-LCH | lch(31.71, 50.01, 3.32°) |
| OKLab | oklab(43.14% 0.1531 0.0079) |
| OKLCH | oklch(43.14% 0.153 3) |
| XYZ | xyz(12.6955, 6.9592, 6.8044) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.37
Mulberry
#920A4E
ΔE00 2.55
Reddish Purple
#910951
ΔE00 3.48
Wine (survey)
#80013F
ΔE00 3.98
Red Purple
#820747
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A48 #1A8E60
analogous
#8E1A82 #8E1A48 #8E261A
triadic
#8E1A48 #488E1A #1A488E
tetradic
#8E1A48 #828E1A #1A8E60 #261A8E
square
#8E1A48 #828E1A #1A8E60 #261A8E
split-complementary
#8E1A48 #1A8E26 #1A828E
monochromatic
#270714 #5A112E #8E1A48 #C22362 #DD4582
Accessibility & contrast
On white
8.78
#8E1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8E1A48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A48
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A48 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1a48; /* rgb */ color: rgb(142, 26, 72); /* oklch */ color: oklch(43.1% 0.153 3.0);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8e1a48',
950: '#000000',
},
}SCSS
$custom: #8e1a48; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8e1a48",
"rgb": {
"r": 142,
"g": 26,
"b": 72
},
"hsl": {
"h": 336.207,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.43136,
"c": 0.15334,
"h": 3
},
"luminance": 0.06957
}Semantic roles & 50–950 ramp
primary
#8E1A48
secondary
#45BE8E
accent
#ECA63C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B