#8E1146#8E1146
#8E1146 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 2.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1146 |
|---|---|
| RGB | rgb(142, 17, 70) |
| HSL | hsl(335, 79%, 31%) |
| HSV | hsv(335, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 50.7%, 44.3%) |
| CIE-LAB | lab(30.87, 52.00, 3.00) |
| CIE-LCH | lch(30.87, 52.08, 3.31°) |
| OKLab | oklab(42.5% 0.1597 0.0082) |
| OKLCH | oklch(42.5% 0.16 2.9) |
| XYZ | xyz(12.4624, 6.5957, 6.4100) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.09
Berry
#990F4B
ΔE00 2.13
Mulberry
#920A4E
ΔE00 2.31
Reddish Purple
#910951
ΔE00 3.28
Wine (survey)
#80013F
ΔE00 3.35
Red Purple
#820747
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1146 #118E59
analogous
#8E1184 #8E1146 #8E1A11
triadic
#8E1146 #468E11 #11468E
tetradic
#8E1146 #848E11 #118E59 #1A118E
square
#8E1146 #848E11 #118E59 #1A118E
split-complementary
#8E1146 #118E1A #11848E
monochromatic
#210410 #570A2B #8E1146 #C51861 #E7337F
Accessibility & contrast
On white
9.06
#8E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1146
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1146 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1146; /* rgb */ color: rgb(142, 17, 70); /* oklch */ color: oklch(42.5% 0.160 2.9);
Tailwind
colors: {
custom: {
50: '#b56179',
500: '#8e1146',
950: '#000000',
},
}SCSS
$custom: #8e1146; $custom-light: #b56179; $custom-dark: #000000;
JSON
{
"hex": "#8e1146",
"rgb": {
"r": 142,
"g": 17,
"b": 70
},
"hsl": {
"h": 334.56,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42497,
"c": 0.15988,
"h": 2.9
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#8E1146
secondary
#38C288
accent
#F5A333
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B