#8E1447#8E1447
#8E1447 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.158 H 2.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1447 |
|---|---|
| RGB | rgb(142, 20, 71) |
| HSL | hsl(335, 75%, 32%) |
| HSV | hsv(335, 86%, 56%) |
| CMYK | cmyk(0%, 85.9%, 50%, 44.3%) |
| CIE-LAB | lab(31.13, 51.41, 2.72) |
| CIE-LCH | lch(31.13, 51.48, 3.03°) |
| OKLab | oklab(42.7% 0.1579 0.0075) |
| OKLCH | oklch(42.7% 0.158 2.7) |
| XYZ | xyz(12.5439, 6.7078, 6.5942) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.17
Mulberry
#920A4E
ΔE00 2.23
Reddish Purple
#910951
ΔE00 3.19
Wine (survey)
#80013F
ΔE00 3.51
Red Purple
#820747
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1447 #148E5B
analogous
#8E1484 #8E1447 #8E1E14
triadic
#8E1447 #478E14 #14478E
tetradic
#8E1447 #848E14 #148E5B #1E148E
square
#8E1447 #848E14 #148E5B #1E148E
split-complementary
#8E1447 #148E1E #14848E
monochromatic
#230511 #580C2C #8E1447 #C41C62 #E33980
Accessibility & contrast
On white
8.97
#8E1447 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E1447 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1447
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1447 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1447 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1447; /* rgb */ color: rgb(142, 20, 71); /* oklch */ color: oklch(42.7% 0.158 2.7);
Tailwind
colors: {
custom: {
50: '#b5627a',
500: '#8e1447',
950: '#000000',
},
}SCSS
$custom: #8e1447; $custom-light: #b5627a; $custom-dark: #000000;
JSON
{
"hex": "#8e1447",
"rgb": {
"r": 142,
"g": 20,
"b": 71
},
"hsl": {
"h": 334.918,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.427,
"c": 0.15804,
"h": 2.7
},
"luminance": 0.06706
}Semantic roles & 50–950 ramp
primary
#8E1447
secondary
#3CC28A
accent
#F2A336
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B