#8E1438#8E1438
#8E1438 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 11.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1438 |
|---|---|
| RGB | rgb(142, 20, 56) |
| HSL | hsl(342, 75%, 32%) |
| HSV | hsv(342, 86%, 56%) |
| CMYK | cmyk(0%, 85.9%, 60.6%, 44.3%) |
| CIE-LAB | lab(30.73, 50.24, 12.13) |
| CIE-LCH | lch(30.73, 51.68, 13.57°) |
| OKLab | oklab(42.28% 0.152 0.0301) |
| OKLCH | oklch(42.28% 0.155 11.2) |
| XYZ | xyz(12.1206, 6.5385, 4.3645) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.60
Cranberry
#9E003A
ΔE00 2.95
Bordeaux
#7B002C
ΔE00 4.42
Purple Red
#990147
ΔE00 4.79
Berry
#990F4B
ΔE00 5.39
Wine Red
#7B0323
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1438 #148E6A
analogous
#8E1475 #8E1438 #8E2D14
triadic
#8E1438 #388E14 #14388E
tetradic
#8E1438 #758E14 #148E6A #2D148E
square
#8E1438 #758E14 #148E6A #2D148E
split-complementary
#8E1438 #148E2D #14758E
monochromatic
#23050E #580C23 #8E1438 #C41C4D #E3396B
Accessibility & contrast
On white
9.10
#8E1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1438
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1438 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1438; /* rgb */ color: rgb(142, 20, 56); /* oklch */ color: oklch(42.3% 0.155 11.2);
Tailwind
colors: {
custom: {
50: '#b6626e',
500: '#8e1438',
950: '#000000',
},
}SCSS
$custom: #8e1438; $custom-light: #b6626e; $custom-dark: #000000;
JSON
{
"hex": "#8e1438",
"rgb": {
"r": 142,
"g": 20,
"b": 56
},
"hsl": {
"h": 342.295,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.42276,
"c": 0.15496,
"h": 11.2
},
"luminance": 0.06537
}Semantic roles & 50–950 ramp
primary
#8E1438
secondary
#3CC29A
accent
#F2BA36
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A