#8E2142#8E2142
#8E2142 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 7.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2142 |
|---|---|
| RGB | rgb(142, 33, 66) |
| HSL | hsl(342, 62%, 34%) |
| HSV | hsv(342, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 53.5%, 44.3%) |
| CIE-LAB | lab(32.33, 47.18, 7.73) |
| CIE-LCH | lch(32.33, 47.81, 9.30°) |
| OKLab | oklab(43.54% 0.1437 0.0199) |
| OKLCH | oklch(43.54% 0.145 7.9) |
| XYZ | xyz(12.6837, 7.2336, 5.8815) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.59
Berry
#990F4B
ΔE00 3.68
Red Wine
#8C0034
ΔE00 3.77
Cranberry
#9E003A
ΔE00 4.24
Mulberry
#920A4E
ΔE00 5.31
Wine (survey)
#80013F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2142 #218E6D
analogous
#8E2179 #8E2142 #8E3721
triadic
#8E2142 #428E21 #21428E
tetradic
#8E2142 #798E21 #218E6D #37218E
square
#8E2142 #798E21 #218E6D #37218E
split-complementary
#8E2142 #218E37 #21798E
monochromatic
#2B0A14 #5C152B #8E2142 #C02D59 #D7527B
Accessibility & contrast
On white
8.58
#8E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2142
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2142 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#9B032F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2142; /* rgb */ color: rgb(142, 33, 66); /* oklch */ color: oklch(43.5% 0.145 7.9);
Tailwind
colors: {
custom: {
50: '#b56776',
500: '#8e2142',
950: '#000000',
},
}SCSS
$custom: #8e2142; $custom-light: #b56776; $custom-dark: #000000;
JSON
{
"hex": "#8e2142",
"rgb": {
"r": 142,
"g": 33,
"b": 66
},
"hsl": {
"h": 341.835,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43536,
"c": 0.14504,
"h": 7.9
},
"luminance": 0.07232
}Semantic roles & 50–950 ramp
primary
#8E2142
secondary
#50BA9A
accent
#E5B442
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B