#8E1947#8E1947
#8E1947 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 3.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1947 |
|---|---|
| RGB | rgb(142, 25, 71) |
| HSL | hsl(336, 70%, 33%) |
| HSV | hsv(336, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 50%, 44.3%) |
| CIE-LAB | lab(31.58, 50.12, 3.37) |
| CIE-LCH | lch(31.58, 50.23, 3.85°) |
| OKLab | oklab(43.03% 0.1537 0.0091) |
| OKLCH | oklch(43.03% 0.154 3.4) |
| XYZ | xyz(12.6414, 6.9027, 6.6267) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.08
Purple Red
#990147
ΔE00 2.27
Mulberry
#920A4E
ΔE00 2.71
Reddish Purple
#910951
ΔE00 3.66
Wine (survey)
#80013F
ΔE00 3.93
Red Purple
#820747
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1947 #198E60
analogous
#8E1982 #8E1947 #8E2519
triadic
#8E1947 #478E19 #19478E
tetradic
#8E1947 #828E19 #198E60 #25198E
square
#8E1947 #828E19 #198E60 #25198E
split-complementary
#8E1947 #198E25 #19828E
monochromatic
#260713 #5A102D #8E1947 #C22261 #DE4380
Accessibility & contrast
On white
8.82
#8E1947 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E1947 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1947
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1947 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1947; /* rgb */ color: rgb(142, 25, 71); /* oklch */ color: oklch(43.0% 0.154 3.4);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8e1947',
950: '#000000',
},
}SCSS
$custom: #8e1947; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8e1947",
"rgb": {
"r": 142,
"g": 25,
"b": 71
},
"hsl": {
"h": 336.41,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.43031,
"c": 0.15395,
"h": 3.4
},
"luminance": 0.06901
}Semantic roles & 50–950 ramp
primary
#8E1947
secondary
#44BF8F
accent
#EDA73B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B