#8E2040#8E2040
#8E2040 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.146 H 8.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2040 |
|---|---|
| RGB | rgb(142, 32, 64) |
| HSL | hsl(343, 63%, 34%) |
| HSV | hsv(343, 77%, 56%) |
| CMYK | cmyk(0%, 77.5%, 54.9%, 44.3%) |
| CIE-LAB | lab(32.16, 47.35, 8.80) |
| CIE-LCH | lch(32.16, 48.16, 10.53°) |
| OKLab | oklab(43.39% 0.144 0.0225) |
| OKLCH | oklch(43.39% 0.146 8.9) |
| XYZ | xyz(12.5984, 7.1557, 5.5673) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.36
Cranberry
#9E003A
ΔE00 3.87
Purple Red
#990147
ΔE00 3.89
Berry
#990F4B
ΔE00 4.10
Bordeaux
#7B002C
ΔE00 5.71
Mulberry
#920A4E
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2040 #208E6E
analogous
#8E2077 #8E2040 #8E3720
triadic
#8E2040 #408E20 #20408E
tetradic
#8E2040 #778E20 #208E6E #37208E
square
#8E2040 #778E20 #208E6E #37208E
split-complementary
#8E2040 #208E37 #20778E
monochromatic
#2A0913 #5C1529 #8E2040 #C02B57 #D85178
Accessibility & contrast
On white
8.64
#8E2040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8E2040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2040
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2040 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3E41
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2040; /* rgb */ color: rgb(142, 32, 64); /* oklch */ color: oklch(43.4% 0.146 8.9);
Tailwind
colors: {
custom: {
50: '#b56674',
500: '#8e2040',
950: '#000000',
},
}SCSS
$custom: #8e2040; $custom-light: #b56674; $custom-dark: #000000;
JSON
{
"hex": "#8e2040",
"rgb": {
"r": 142,
"g": 32,
"b": 64
},
"hsl": {
"h": 342.545,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.43391,
"c": 0.14571,
"h": 8.9
},
"luminance": 0.07154
}Semantic roles & 50–950 ramp
primary
#8E2040
secondary
#4FBB9B
accent
#E6B642
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B