#8E2247#8E2247
#8E2247 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.145 H 5.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2247 |
|---|---|
| RGB | rgb(142, 34, 71) |
| HSL | hsl(339, 61%, 35%) |
| HSV | hsv(339, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 50%, 44.3%) |
| CIE-LAB | lab(32.59, 47.27, 4.82) |
| CIE-LCH | lch(32.59, 47.51, 5.82°) |
| OKLab | oklab(43.77% 0.1445 0.0127) |
| OKLCH | oklch(43.77% 0.145 5) |
| XYZ | xyz(12.8658, 7.3515, 6.7015) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.75
Purple Red
#990147
ΔE00 3.03
Mulberry
#920A4E
ΔE00 3.99
Reddish Purple
#910951
ΔE00 4.90
Red Wine
#8C0034
ΔE00 4.92
Wine (survey)
#80013F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2247 #228E69
analogous
#8E227D #8E2247 #8E3322
triadic
#8E2247 #478E22 #22478E
tetradic
#8E2247 #7D8E22 #228E69 #33228E
square
#8E2247 #7D8E22 #228E69 #33228E
split-complementary
#8E2247 #228E33 #227D8E
monochromatic
#2B0A16 #5D162E #8E2247 #BF2E60 #D65481
Accessibility & contrast
On white
8.50
#8E2247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8E2247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2247
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2247 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#595444
Tritanopia (blue-blind)
#9B0A32
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e2247; /* rgb */ color: rgb(142, 34, 71); /* oklch */ color: oklch(43.8% 0.145 5.0);
Tailwind
colors: {
custom: {
50: '#b4677a',
500: '#8e2247',
950: '#000000',
},
}SCSS
$custom: #8e2247; $custom-light: #b4677a; $custom-dark: #000000;
JSON
{
"hex": "#8e2247",
"rgb": {
"r": 142,
"g": 34,
"b": 71
},
"hsl": {
"h": 339.444,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.43774,
"c": 0.14506,
"h": 5
},
"luminance": 0.0735
}Semantic roles & 50–950 ramp
primary
#8E2247
secondary
#52BA96
accent
#E4AD43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120709
muted
#817A7B