#8E1142#8E1142
#8E1142 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.159 H 5.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1142 |
|---|---|
| RGB | rgb(142, 17, 66) |
| HSL | hsl(336, 79%, 31%) |
| HSV | hsv(336, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 53.5%, 44.3%) |
| CIE-LAB | lab(30.75, 51.66, 5.50) |
| CIE-LCH | lch(30.75, 51.96, 6.07°) |
| OKLab | oklab(42.37% 0.1582 0.0144) |
| OKLCH | oklch(42.37% 0.159 5.2) |
| XYZ | xyz(12.3403, 6.5468, 5.7671) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.15
Berry
#990F4B
ΔE00 2.54
Mulberry
#920A4E
ΔE00 3.54
Red Wine
#8C0034
ΔE00 3.74
Wine (survey)
#80013F
ΔE00 3.80
Reddish Purple
#910951
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1142 #118E5D
analogous
#8E1180 #8E1142 #8E1E11
triadic
#8E1142 #428E11 #11428E
tetradic
#8E1142 #808E11 #118E5D #1E118E
square
#8E1142 #808E11 #118E5D #1E118E
split-complementary
#8E1142 #118E1E #11808E
monochromatic
#21040F #570A29 #8E1142 #C5185B #E73379
Accessibility & contrast
On white
9.09
#8E1142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E1142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1142
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1142 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1142; /* rgb */ color: rgb(142, 17, 66); /* oklch */ color: oklch(42.4% 0.159 5.2);
Tailwind
colors: {
custom: {
50: '#b56176',
500: '#8e1142',
950: '#000000',
},
}SCSS
$custom: #8e1142; $custom-light: #b56176; $custom-dark: #000000;
JSON
{
"hex": "#8e1142",
"rgb": {
"r": 142,
"g": 17,
"b": 66
},
"hsl": {
"h": 336.48,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42374,
"c": 0.15882,
"h": 5.2
},
"luminance": 0.06545
}Semantic roles & 50–950 ramp
primary
#8E1142
secondary
#38C28C
accent
#F5A933
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B