#8E1845#8E1845
#8E1845 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 4.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1845 |
|---|---|
| RGB | rgb(142, 24, 69) |
| HSL | hsl(337, 71%, 33%) |
| HSV | hsv(337, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 51.4%, 44.3%) |
| CIE-LAB | lab(31.43, 50.22, 4.47) |
| CIE-LCH | lch(31.43, 50.42, 5.09°) |
| OKLab | oklab(42.9% 0.1538 0.0119) |
| OKLCH | oklch(42.9% 0.154 4.4) |
| XYZ | xyz(12.5573, 6.8355, 6.2872) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.21
Berry
#990F4B
ΔE00 2.24
Mulberry
#920A4E
ΔE00 3.19
Wine (survey)
#80013F
ΔE00 4.01
Reddish Purple
#910951
ΔE00 4.17
Red Wine
#8C0034
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1845 #188E61
analogous
#8E1880 #8E1845 #8E2618
triadic
#8E1845 #458E18 #18458E
tetradic
#8E1845 #808E18 #188E61 #26188E
square
#8E1845 #808E18 #188E61 #26188E
split-complementary
#8E1845 #188E26 #18808E
monochromatic
#250612 #5A0F2C #8E1845 #C2215E #DF417E
Accessibility & contrast
On white
8.87
#8E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1845
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1845 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1845; /* rgb */ color: rgb(142, 24, 69); /* oklch */ color: oklch(42.9% 0.154 4.4);
Tailwind
colors: {
custom: {
50: '#b56378',
500: '#8e1845',
950: '#000000',
},
}SCSS
$custom: #8e1845; $custom-light: #b56378; $custom-dark: #000000;
JSON
{
"hex": "#8e1845",
"rgb": {
"r": 142,
"g": 24,
"b": 69
},
"hsl": {
"h": 337.119,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42898,
"c": 0.15428,
"h": 4.4
},
"luminance": 0.06834
}Semantic roles & 50–950 ramp
primary
#8E1845
secondary
#42C090
accent
#EEA93A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B