#8E1838#8E1838
#8E1838 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 11.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1838 |
|---|---|
| RGB | rgb(142, 24, 56) |
| HSL | hsl(344, 71%, 33%) |
| HSV | hsv(344, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 60.6%, 44.3%) |
| CIE-LAB | lab(31.09, 49.21, 12.62) |
| CIE-LCH | lch(31.09, 50.80, 14.38°) |
| OKLab | oklab(42.54% 0.1487 0.0313) |
| OKLCH | oklch(42.54% 0.152 11.9) |
| XYZ | xyz(12.1970, 6.6914, 4.3899) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.07
Cranberry
#9E003A
ΔE00 2.99
Bordeaux
#7B002C
ΔE00 4.68
Purple Red
#990147
ΔE00 5.17
Wine Red
#7B0323
ΔE00 5.66
Berry
#990F4B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1838 #188E6E
analogous
#8E1873 #8E1838 #8E3318
triadic
#8E1838 #388E18 #18388E
tetradic
#8E1838 #738E18 #188E6E #33188E
square
#8E1838 #738E18 #188E6E #33188E
split-complementary
#8E1838 #188E33 #18738E
monochromatic
#25060F #5A0F23 #8E1838 #C2214D #DF416C
Accessibility & contrast
On white
8.98
#8E1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1838
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1838 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1838; /* rgb */ color: rgb(142, 24, 56); /* oklch */ color: oklch(42.5% 0.152 11.9);
Tailwind
colors: {
custom: {
50: '#b6636e',
500: '#8e1838',
950: '#000000',
},
}SCSS
$custom: #8e1838; $custom-light: #b6636e; $custom-dark: #000000;
JSON
{
"hex": "#8e1838",
"rgb": {
"r": 142,
"g": 24,
"b": 56
},
"hsl": {
"h": 343.729,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42542,
"c": 0.15192,
"h": 11.9
},
"luminance": 0.0669
}Semantic roles & 50–950 ramp
primary
#8E1838
secondary
#42C09E
accent
#EEBD3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A