#8E1747#8E1747
#8E1747 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 3.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1747 |
|---|---|
| RGB | rgb(142, 23, 71) |
| HSL | hsl(336, 72%, 32%) |
| HSV | hsv(336, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 50%, 44.3%) |
| CIE-LAB | lab(31.39, 50.66, 3.10) |
| CIE-LCH | lch(31.39, 50.76, 3.50°) |
| OKLab | oklab(42.89% 0.1554 0.0084) |
| OKLCH | oklch(42.89% 0.156 3.1) |
| XYZ | xyz(12.6002, 6.8203, 6.6130) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.05
Purple Red
#990147
ΔE00 2.21
Mulberry
#920A4E
ΔE00 2.50
Reddish Purple
#910951
ΔE00 3.46
Wine (survey)
#80013F
ΔE00 3.75
Red Purple
#820747
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1747 #178E5E
analogous
#8E1783 #8E1747 #8E2217
triadic
#8E1747 #478E17 #17478E
tetradic
#8E1747 #838E17 #178E5E #22178E
square
#8E1747 #838E17 #178E5E #22178E
split-complementary
#8E1747 #178E22 #17838E
monochromatic
#250612 #590E2D #8E1747 #C32061 #E03F80
Accessibility & contrast
On white
8.88
#8E1747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1747
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1747 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1747; /* rgb */ color: rgb(142, 23, 71); /* oklch */ color: oklch(42.9% 0.156 3.1);
Tailwind
colors: {
custom: {
50: '#b5637a',
500: '#8e1747',
950: '#000000',
},
}SCSS
$custom: #8e1747; $custom-light: #b5637a; $custom-dark: #000000;
JSON
{
"hex": "#8e1747",
"rgb": {
"r": 142,
"g": 23,
"b": 71
},
"hsl": {
"h": 335.798,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42892,
"c": 0.15566,
"h": 3.1
},
"luminance": 0.06819
}Semantic roles & 50–950 ramp
primary
#8E1747
secondary
#40C08D
accent
#EFA539
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B