#8E1148#8E1148
#8E1148 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.160 H 1.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1148 |
|---|---|
| RGB | rgb(142, 17, 72) |
| HSL | hsl(334, 79%, 31%) |
| HSV | hsv(334, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 49.3%, 44.3%) |
| CIE-LAB | lab(30.93, 52.17, 1.76) |
| CIE-LCH | lch(30.93, 52.20, 1.94°) |
| OKLab | oklab(42.56% 0.1604 0.0051) |
| OKLCH | oklch(42.56% 0.16 1.8) |
| XYZ | xyz(12.5266, 6.6213, 6.7481) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.74
Berry
#990F4B
ΔE00 2.18
Purple Red
#990147
ΔE00 2.34
Reddish Purple
#910951
ΔE00 2.67
Red Purple
#820747
ΔE00 3.28
Wine (survey)
#80013F
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1148 #118E57
analogous
#8E1186 #8E1148 #8E1811
triadic
#8E1148 #488E11 #11488E
tetradic
#8E1148 #868E11 #118E57 #18118E
square
#8E1148 #868E11 #118E57 #18118E
split-complementary
#8E1148 #118E18 #11868E
monochromatic
#210411 #570A2C #8E1148 #C51864 #E73382
Accessibility & contrast
On white
9.04
#8E1148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1148
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1148 | 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)
#343A49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1148; /* rgb */ color: rgb(142, 17, 72); /* oklch */ color: oklch(42.6% 0.160 1.8);
Tailwind
colors: {
custom: {
50: '#b5617a',
500: '#8e1148',
950: '#000000',
},
}SCSS
$custom: #8e1148; $custom-light: #b5617a; $custom-dark: #000000;
JSON
{
"hex": "#8e1148",
"rgb": {
"r": 142,
"g": 17,
"b": 72
},
"hsl": {
"h": 333.6,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42561,
"c": 0.16047,
"h": 1.8
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#8E1148
secondary
#38C286
accent
#F5A033
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B