#8E1140#8E1140
#8E1140 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.158 H 6.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1140 |
|---|---|
| RGB | rgb(142, 17, 64) |
| HSL | hsl(337, 79%, 31%) |
| HSV | hsv(337, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 54.9%, 44.3%) |
| CIE-LAB | lab(30.70, 51.50, 6.75) |
| CIE-LCH | lch(30.70, 51.95, 7.47°) |
| OKLab | oklab(42.32% 0.1574 0.0174) |
| OKLCH | oklch(42.32% 0.158 6.3) |
| XYZ | xyz(12.2824, 6.5237, 5.4619) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.45
Berry
#990F4B
ΔE00 2.96
Red Wine
#8C0034
ΔE00 3.14
Wine (survey)
#80013F
ΔE00 4.16
Mulberry
#920A4E
ΔE00 4.18
Cranberry
#9E003A
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1140 #118E5F
analogous
#8E117E #8E1140 #8E2011
triadic
#8E1140 #408E11 #11408E
tetradic
#8E1140 #7E8E11 #118E5F #20118E
square
#8E1140 #7E8E11 #118E5F #20118E
split-complementary
#8E1140 #118E20 #117E8E
monochromatic
#21040F #570A27 #8E1140 #C51859 #E73376
Accessibility & contrast
On white
9.11
#8E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8E1140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1140
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1140 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1140; /* rgb */ color: rgb(142, 17, 64); /* oklch */ color: oklch(42.3% 0.158 6.3);
Tailwind
colors: {
custom: {
50: '#b56174',
500: '#8e1140',
950: '#000000',
},
}SCSS
$custom: #8e1140; $custom-light: #b56174; $custom-dark: #000000;
JSON
{
"hex": "#8e1140",
"rgb": {
"r": 142,
"g": 17,
"b": 64
},
"hsl": {
"h": 337.44,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42316,
"c": 0.15837,
"h": 6.3
},
"luminance": 0.06522
}Semantic roles & 50–950 ramp
primary
#8E1140
secondary
#38C28F
accent
#F5AC33
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B