#8E1138#8E1138
#8E1138 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 10.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1138 |
|---|---|
| RGB | rgb(142, 17, 56) |
| HSL | hsl(341, 79%, 31%) |
| HSV | hsv(341, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 60.6%, 44.3%) |
| CIE-LAB | lab(30.49, 50.92, 11.80) |
| CIE-LCH | lch(30.49, 52.27, 13.05°) |
| OKLab | oklab(42.1% 0.1542 0.0293) |
| OKLCH | oklch(42.1% 0.157 10.8) |
| XYZ | xyz(12.0709, 6.4391, 4.3479) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.34
Cranberry
#9E003A
ΔE00 2.98
Bordeaux
#7B002C
ΔE00 4.27
Purple Red
#990147
ΔE00 4.56
Berry
#990F4B
ΔE00 5.20
Wine Red
#7B0323
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1138 #118E67
analogous
#8E1176 #8E1138 #8E2811
triadic
#8E1138 #388E11 #11388E
tetradic
#8E1138 #768E11 #118E67 #28118E
square
#8E1138 #768E11 #118E67 #28118E
split-complementary
#8E1138 #118E28 #11768E
monochromatic
#21040D #570A22 #8E1138 #C5184E #E7336B
Accessibility & contrast
On white
9.18
#8E1138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E1138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1138
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1138 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383839
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1138; /* rgb */ color: rgb(142, 17, 56); /* oklch */ color: oklch(42.1% 0.157 10.8);
Tailwind
colors: {
custom: {
50: '#b6616e',
500: '#8e1138',
950: '#000000',
},
}SCSS
$custom: #8e1138; $custom-light: #b6616e; $custom-dark: #000000;
JSON
{
"hex": "#8e1138",
"rgb": {
"r": 142,
"g": 17,
"b": 56
},
"hsl": {
"h": 341.28,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42101,
"c": 0.15698,
"h": 10.8
},
"luminance": 0.06437
}Semantic roles & 50–950 ramp
primary
#8E1138
secondary
#38C297
accent
#F5B833
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A