#8E1847#8E1847
#8E1847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 3.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1847 |
|---|---|
| RGB | rgb(142, 24, 71) |
| HSL | hsl(336, 71%, 33%) |
| HSV | hsv(336, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 50%, 44.3%) |
| CIE-LAB | lab(31.49, 50.39, 3.23) |
| CIE-LCH | lch(31.49, 50.50, 3.67°) |
| OKLab | oklab(42.96% 0.1546 0.0088) |
| OKLCH | oklch(42.96% 0.155 3.2) |
| XYZ | xyz(12.6204, 6.8608, 6.6197) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.23
Mulberry
#920A4E
ΔE00 2.60
Reddish Purple
#910951
ΔE00 3.56
Wine (survey)
#80013F
ΔE00 3.84
Red Purple
#820747
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1847 #188E5F
analogous
#8E1882 #8E1847 #8E2418
triadic
#8E1847 #478E18 #18478E
tetradic
#8E1847 #828E18 #188E5F #24188E
square
#8E1847 #828E18 #188E5F #24188E
split-complementary
#8E1847 #188E24 #18828E
monochromatic
#250613 #5A0F2D #8E1847 #C22161 #DF4180
Accessibility & contrast
On white
8.85
#8E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1847
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1847 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1847; /* rgb */ color: rgb(142, 24, 71); /* oklch */ color: oklch(43.0% 0.155 3.2);
Tailwind
colors: {
custom: {
50: '#b5637a',
500: '#8e1847',
950: '#000000',
},
}SCSS
$custom: #8e1847; $custom-light: #b5637a; $custom-dark: #000000;
JSON
{
"hex": "#8e1847",
"rgb": {
"r": 142,
"g": 24,
"b": 71
},
"hsl": {
"h": 336.102,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.4296,
"c": 0.15482,
"h": 3.2
},
"luminance": 0.06859
}Semantic roles & 50–950 ramp
primary
#8E1847
secondary
#42C08E
accent
#EEA63A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B