#8E1A45#8E1A45
#8E1A45 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.153 H 4.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A45 |
|---|---|
| RGB | rgb(142, 26, 69) |
| HSL | hsl(338, 69%, 33%) |
| HSV | hsv(338, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 51.4%, 44.3%) |
| CIE-LAB | lab(31.63, 49.66, 4.75) |
| CIE-LCH | lch(31.63, 49.89, 5.47°) |
| OKLab | oklab(43.04% 0.152 0.0126) |
| OKLCH | oklch(43.04% 0.153 4.7) |
| XYZ | xyz(12.6000, 6.9210, 6.3015) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.33
Purple Red
#990147
ΔE00 2.34
Mulberry
#920A4E
ΔE00 3.41
Wine (survey)
#80013F
ΔE00 4.23
Reddish Purple
#910951
ΔE00 4.39
Red Wine
#8C0034
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A45 #1A8E63
analogous
#8E1A7F #8E1A45 #8E291A
triadic
#8E1A45 #458E1A #1A458E
tetradic
#8E1A45 #7F8E1A #1A8E63 #291A8E
square
#8E1A45 #7F8E1A #1A8E63 #291A8E
split-complementary
#8E1A45 #1A8E29 #1A7F8E
monochromatic
#270713 #5A112C #8E1A45 #C2235E #DD457E
Accessibility & contrast
On white
8.81
#8E1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A45
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A45 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1a45; /* rgb */ color: rgb(142, 26, 69); /* oklch */ color: oklch(43.0% 0.153 4.7);
Tailwind
colors: {
custom: {
50: '#b56478',
500: '#8e1a45',
950: '#000000',
},
}SCSS
$custom: #8e1a45; $custom-light: #b56478; $custom-dark: #000000;
JSON
{
"hex": "#8e1a45",
"rgb": {
"r": 142,
"g": 26,
"b": 69
},
"hsl": {
"h": 337.759,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.43043,
"c": 0.15253,
"h": 4.7
},
"luminance": 0.06919
}Semantic roles & 50–950 ramp
primary
#8E1A45
secondary
#45BE92
accent
#ECAB3C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B