#8E2146#8E2146
#8E2146 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 5.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2146 |
|---|---|
| RGB | rgb(142, 33, 70) |
| HSL | hsl(340, 62%, 34%) |
| HSV | hsv(340, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 50.7%, 44.3%) |
| CIE-LAB | lab(32.44, 47.53, 5.26) |
| CIE-LCH | lch(32.44, 47.82, 6.31°) |
| OKLab | oklab(43.65% 0.1452 0.0138) |
| OKLCH | oklch(43.65% 0.146 5.4) |
| XYZ | xyz(12.8058, 7.2824, 6.5245) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.79
Purple Red
#990147
ΔE00 2.97
Mulberry
#920A4E
ΔE00 4.10
Red Wine
#8C0034
ΔE00 4.66
Reddish Purple
#910951
ΔE00 5.03
Wine (survey)
#80013F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2146 #218E69
analogous
#8E217D #8E2146 #8E3321
triadic
#8E2146 #468E21 #21468E
tetradic
#8E2146 #7D8E21 #218E69 #33218E
square
#8E2146 #7D8E21 #218E69 #33218E
split-complementary
#8E2146 #218E33 #217D8E
monochromatic
#2B0A15 #5C152E #8E2146 #C02D5E #D7527F
Accessibility & contrast
On white
8.55
#8E2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2146
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2146 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F47
Deuteranopia (green-blind)
#585443
Tritanopia (blue-blind)
#9B0731
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2146; /* rgb */ color: rgb(142, 33, 70); /* oklch */ color: oklch(43.7% 0.146 5.4);
Tailwind
colors: {
custom: {
50: '#b46779',
500: '#8e2146',
950: '#000000',
},
}SCSS
$custom: #8e2146; $custom-light: #b46779; $custom-dark: #000000;
JSON
{
"hex": "#8e2146",
"rgb": {
"r": 142,
"g": 33,
"b": 70
},
"hsl": {
"h": 339.633,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43652,
"c": 0.14589,
"h": 5.4
},
"luminance": 0.07281
}Semantic roles & 50–950 ramp
primary
#8E2146
secondary
#50BA96
accent
#E5AE42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B