#8E1538#8E1538
#8E1538 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.154 H 11.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1538 |
|---|---|
| RGB | rgb(142, 21, 56) |
| HSL | hsl(343, 74%, 32%) |
| HSV | hsv(343, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 60.6%, 44.3%) |
| CIE-LAB | lab(30.82, 49.99, 12.24) |
| CIE-LCH | lch(30.82, 51.47, 13.76°) |
| OKLab | oklab(42.34% 0.1512 0.0304) |
| OKLCH | oklch(42.34% 0.154 11.4) |
| XYZ | xyz(12.1386, 6.5745, 4.3705) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.71
Cranberry
#9E003A
ΔE00 2.95
Bordeaux
#7B002C
ΔE00 4.48
Purple Red
#990147
ΔE00 4.87
Berry
#990F4B
ΔE00 5.46
Wine Red
#7B0323
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1538 #158E6B
analogous
#8E1574 #8E1538 #8E2F15
triadic
#8E1538 #388E15 #15388E
tetradic
#8E1538 #748E15 #158E6B #2F158E
square
#8E1538 #748E15 #158E6B #2F158E
split-complementary
#8E1538 #158E2F #15748E
monochromatic
#23050E #590D23 #8E1538 #C31D4D #E23B6C
Accessibility & contrast
On white
9.07
#8E1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1538
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1538 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1538; /* rgb */ color: rgb(142, 21, 56); /* oklch */ color: oklch(42.3% 0.154 11.4);
Tailwind
colors: {
custom: {
50: '#b6626e',
500: '#8e1538',
950: '#000000',
},
}SCSS
$custom: #8e1538; $custom-light: #b6626e; $custom-dark: #000000;
JSON
{
"hex": "#8e1538",
"rgb": {
"r": 142,
"g": 21,
"b": 56
},
"hsl": {
"h": 342.645,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42339,
"c": 0.15423,
"h": 11.4
},
"luminance": 0.06573
}Semantic roles & 50–950 ramp
primary
#8E1538
secondary
#3DC29B
accent
#F1BB37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A