#8E1242#8E1242
#8E1242 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 5.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1242 |
|---|---|
| RGB | rgb(142, 18, 66) |
| HSL | hsl(337, 78%, 31%) |
| HSV | hsv(337, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 53.5%, 44.3%) |
| CIE-LAB | lab(30.83, 51.45, 5.60) |
| CIE-LCH | lch(30.83, 51.75, 6.22°) |
| OKLab | oklab(42.43% 0.1575 0.0146) |
| OKLCH | oklch(42.43% 0.158 5.3) |
| XYZ | xyz(12.3562, 6.5785, 5.7724) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.18
Berry
#990F4B
ΔE00 2.56
Mulberry
#920A4E
ΔE00 3.61
Red Wine
#8C0034
ΔE00 3.71
Wine (survey)
#80013F
ΔE00 3.88
Reddish Purple
#910951
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1242 #128E5E
analogous
#8E1280 #8E1242 #8E2012
triadic
#8E1242 #428E12 #12428E
tetradic
#8E1242 #808E12 #128E5E #20128E
square
#8E1242 #808E12 #128E5E #20128E
split-complementary
#8E1242 #128E20 #12808E
monochromatic
#210410 #580B29 #8E1242 #C4195B #E53579
Accessibility & contrast
On white
9.07
#8E1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1242
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1242 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363943
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1242; /* rgb */ color: rgb(142, 18, 66); /* oklch */ color: oklch(42.4% 0.158 5.3);
Tailwind
colors: {
custom: {
50: '#b56176',
500: '#8e1242',
950: '#000000',
},
}SCSS
$custom: #8e1242; $custom-light: #b56176; $custom-dark: #000000;
JSON
{
"hex": "#8e1242",
"rgb": {
"r": 142,
"g": 18,
"b": 66
},
"hsl": {
"h": 336.774,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42429,
"c": 0.15815,
"h": 5.3
},
"luminance": 0.06577
}Semantic roles & 50–950 ramp
primary
#8E1242
secondary
#3AC28D
accent
#F4AA34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B