#8E1145#8E1145
#8E1145 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 3.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1145 |
|---|---|
| RGB | rgb(142, 17, 69) |
| HSL | hsl(335, 79%, 31%) |
| HSV | hsv(335, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 51.4%, 44.3%) |
| CIE-LAB | lab(30.84, 51.91, 3.63) |
| CIE-LCH | lch(30.84, 52.04, 3.99°) |
| OKLab | oklab(42.47% 0.1593 0.0098) |
| OKLCH | oklch(42.47% 0.16 3.5) |
| XYZ | xyz(12.4311, 6.5831, 6.2452) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.03
Berry
#990F4B
ΔE00 2.17
Mulberry
#920A4E
ΔE00 2.61
Wine (survey)
#80013F
ΔE00 3.42
Reddish Purple
#910951
ΔE00 3.59
Red Purple
#820747
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1145 #118E5A
analogous
#8E1183 #8E1145 #8E1B11
triadic
#8E1145 #458E11 #11458E
tetradic
#8E1145 #838E11 #118E5A #1B118E
square
#8E1145 #838E11 #118E5A #1B118E
split-complementary
#8E1145 #118E1B #11838E
monochromatic
#210410 #570A2A #8E1145 #C51860 #E7337E
Accessibility & contrast
On white
9.07
#8E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1145
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1145 | 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)
#343946
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1145; /* rgb */ color: rgb(142, 17, 69); /* oklch */ color: oklch(42.5% 0.160 3.5);
Tailwind
colors: {
custom: {
50: '#b56178',
500: '#8e1145',
950: '#000000',
},
}SCSS
$custom: #8e1145; $custom-light: #b56178; $custom-dark: #000000;
JSON
{
"hex": "#8e1145",
"rgb": {
"r": 142,
"g": 17,
"b": 69
},
"hsl": {
"h": 335.04,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42465,
"c": 0.1596,
"h": 3.5
},
"luminance": 0.06581
}Semantic roles & 50–950 ramp
primary
#8E1145
secondary
#38C289
accent
#F5A433
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B