#8E2147#8E2147
#8E2147 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 4.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2147 |
|---|---|
| RGB | rgb(142, 33, 71) |
| HSL | hsl(339, 62%, 34%) |
| HSV | hsv(339, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 50%, 44.3%) |
| CIE-LAB | lab(32.47, 47.62, 4.64) |
| CIE-LCH | lch(32.47, 47.84, 5.57°) |
| OKLab | oklab(43.68% 0.1456 0.0123) |
| OKLCH | oklch(43.68% 0.146 4.8) |
| XYZ | xyz(12.8376, 7.2952, 6.6921) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.63
Purple Red
#990147
ΔE00 2.90
Mulberry
#920A4E
ΔE00 3.82
Reddish Purple
#910951
ΔE00 4.73
Red Wine
#8C0034
ΔE00 4.91
Wine (survey)
#80013F
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2147 #218E68
analogous
#8E217E #8E2147 #8E3221
triadic
#8E2147 #478E21 #21478E
tetradic
#8E2147 #7E8E21 #218E68 #32218E
square
#8E2147 #7E8E21 #218E68 #32218E
split-complementary
#8E2147 #218E32 #217E8E
monochromatic
#2B0A15 #5C152E #8E2147 #C02D60 #D75281
Accessibility & contrast
On white
8.54
#8E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2147
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2147 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9B0731
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2147; /* rgb */ color: rgb(142, 33, 71); /* oklch */ color: oklch(43.7% 0.146 4.8);
Tailwind
colors: {
custom: {
50: '#b4677a',
500: '#8e2147',
950: '#000000',
},
}SCSS
$custom: #8e2147; $custom-light: #b4677a; $custom-dark: #000000;
JSON
{
"hex": "#8e2147",
"rgb": {
"r": 142,
"g": 33,
"b": 71
},
"hsl": {
"h": 339.083,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43682,
"c": 0.14614,
"h": 4.8
},
"luminance": 0.07293
}Semantic roles & 50–950 ramp
primary
#8E2147
secondary
#50BA95
accent
#E5AD42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B