#8E2140#8E2140
#8E2140 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 9.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2140 |
|---|---|
| RGB | rgb(142, 33, 64) |
| HSL | hsl(343, 62%, 34%) |
| HSV | hsv(343, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 54.9%, 44.3%) |
| CIE-LAB | lab(32.28, 47.01, 8.97) |
| CIE-LCH | lch(32.28, 47.86, 10.80°) |
| OKLab | oklab(43.48% 0.1429 0.0229) |
| OKLCH | oklch(43.48% 0.145 9.1) |
| XYZ | xyz(12.6258, 7.2104, 5.5764) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.45
Cranberry
#9E003A
ΔE00 3.87
Purple Red
#990147
ΔE00 4.04
Berry
#990F4B
ΔE00 4.24
Bordeaux
#7B002C
ΔE00 5.78
Mulberry
#920A4E
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2140 #218E6F
analogous
#8E2177 #8E2140 #8E3921
triadic
#8E2140 #408E21 #21408E
tetradic
#8E2140 #778E21 #218E6F #39218E
square
#8E2140 #778E21 #218E6F #39218E
split-complementary
#8E2140 #218E39 #21778E
monochromatic
#2B0A13 #5C152A #8E2140 #C02D56 #D75278
Accessibility & contrast
On white
8.60
#8E2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8E2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2140
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2140 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#9B022E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2140; /* rgb */ color: rgb(142, 33, 64); /* oklch */ color: oklch(43.5% 0.145 9.1);
Tailwind
colors: {
custom: {
50: '#b56774',
500: '#8e2140',
950: '#000000',
},
}SCSS
$custom: #8e2140; $custom-light: #b56774; $custom-dark: #000000;
JSON
{
"hex": "#8e2140",
"rgb": {
"r": 142,
"g": 33,
"b": 64
},
"hsl": {
"h": 342.936,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43481,
"c": 0.14469,
"h": 9.1
},
"luminance": 0.07209
}Semantic roles & 50–950 ramp
primary
#8E2140
secondary
#50BA9C
accent
#E5B742
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B