#8E1147#8E1147
#8E1147 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 2.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1147 |
|---|---|
| RGB | rgb(142, 17, 71) |
| HSL | hsl(334, 79%, 31%) |
| HSV | hsv(334, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 50%, 44.3%) |
| CIE-LAB | lab(30.90, 52.08, 2.38) |
| CIE-LCH | lch(30.90, 52.14, 2.62°) |
| OKLab | oklab(42.53% 0.16 0.0066) |
| OKLCH | oklch(42.53% 0.16 2.4) |
| XYZ | xyz(12.4942, 6.6084, 6.5777) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.02
Berry
#990F4B
ΔE00 2.13
Purple Red
#990147
ΔE00 2.20
Reddish Purple
#910951
ΔE00 2.98
Wine (survey)
#80013F
ΔE00 3.31
Red Purple
#820747
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1147 #118E58
analogous
#8E1185 #8E1147 #8E1911
triadic
#8E1147 #478E11 #11478E
tetradic
#8E1147 #858E11 #118E58 #19118E
square
#8E1147 #858E11 #118E58 #19118E
split-complementary
#8E1147 #118E19 #11858E
monochromatic
#210410 #570A2C #8E1147 #C51862 #E73380
Accessibility & contrast
On white
9.05
#8E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1147
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1147 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1147; /* rgb */ color: rgb(142, 17, 71); /* oklch */ color: oklch(42.5% 0.160 2.4);
Tailwind
colors: {
custom: {
50: '#b5617a',
500: '#8e1147',
950: '#000000',
},
}SCSS
$custom: #8e1147; $custom-light: #b5617a; $custom-dark: #000000;
JSON
{
"hex": "#8e1147",
"rgb": {
"r": 142,
"g": 17,
"b": 71
},
"hsl": {
"h": 334.08,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42529,
"c": 0.16017,
"h": 2.4
},
"luminance": 0.06607
}Semantic roles & 50–950 ramp
primary
#8E1147
secondary
#38C287
accent
#F5A133
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B