#8E1342#8E1342
#8E1342 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.157 H 5.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1342 |
|---|---|
| RGB | rgb(142, 19, 66) |
| HSL | hsl(337, 76%, 32%) |
| HSV | hsv(337, 87%, 56%) |
| CMYK | cmyk(0%, 86.6%, 53.5%, 44.3%) |
| CIE-LAB | lab(30.91, 51.22, 5.72) |
| CIE-LCH | lch(30.91, 51.54, 6.37°) |
| OKLab | oklab(42.49% 0.1567 0.0149) |
| OKLCH | oklch(42.49% 0.157 5.4) |
| XYZ | xyz(12.3727, 6.6117, 5.7779) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.22
Berry
#990F4B
ΔE00 2.58
Mulberry
#920A4E
ΔE00 3.68
Red Wine
#8C0034
ΔE00 3.68
Wine (survey)
#80013F
ΔE00 3.96
Reddish Purple
#910951
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1342 #138E5F
analogous
#8E1380 #8E1342 #8E2113
triadic
#8E1342 #428E13 #13428E
tetradic
#8E1342 #808E13 #138E5F #21138E
square
#8E1342 #808E13 #138E5F #21138E
split-complementary
#8E1342 #138E21 #13808E
monochromatic
#220510 #580C29 #8E1342 #C41A5B #E43779
Accessibility & contrast
On white
9.04
#8E1342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1342
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1342 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 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: #8e1342; /* rgb */ color: rgb(142, 19, 66); /* oklch */ color: oklch(42.5% 0.157 5.4);
Tailwind
colors: {
custom: {
50: '#b56276',
500: '#8e1342',
950: '#000000',
},
}SCSS
$custom: #8e1342; $custom-light: #b56276; $custom-dark: #000000;
JSON
{
"hex": "#8e1342",
"rgb": {
"r": 142,
"g": 19,
"b": 66
},
"hsl": {
"h": 337.073,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.42487,
"c": 0.15745,
"h": 5.4
},
"luminance": 0.0661
}Semantic roles & 50–950 ramp
primary
#8E1342
secondary
#3BC28E
accent
#F3AA35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B