#8E2145#8E2145
#8E2145 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.146 H 6.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2145 |
|---|---|
| RGB | rgb(142, 33, 69) |
| HSL | hsl(340, 62%, 34%) |
| HSV | hsv(340, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 51.4%, 44.3%) |
| CIE-LAB | lab(32.41, 47.44, 5.87) |
| CIE-LCH | lch(32.41, 47.80, 7.06°) |
| OKLab | oklab(43.62% 0.1449 0.0154) |
| OKLCH | oklch(43.62% 0.146 6.1) |
| XYZ | xyz(12.7745, 7.2699, 6.3596) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.98
Purple Red
#990147
ΔE00 3.08
Mulberry
#920A4E
ΔE00 4.39
Red Wine
#8C0034
ΔE00 4.42
Cranberry
#9E003A
ΔE00 4.92
Wine (survey)
#80013F
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2145 #218E6A
analogous
#8E217C #8E2145 #8E3321
triadic
#8E2145 #458E21 #21458E
tetradic
#8E2145 #7C8E21 #218E6A #33218E
square
#8E2145 #7C8E21 #218E6A #33218E
split-complementary
#8E2145 #218E33 #217C8E
monochromatic
#2B0A15 #5C152D #8E2145 #C02D5D #D7527E
Accessibility & contrast
On white
8.56
#8E2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2145
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2145 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3E46
Deuteranopia (green-blind)
#595442
Tritanopia (blue-blind)
#9B0630
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2145; /* rgb */ color: rgb(142, 33, 69); /* oklch */ color: oklch(43.6% 0.146 6.1);
Tailwind
colors: {
custom: {
50: '#b46778',
500: '#8e2145',
950: '#000000',
},
}SCSS
$custom: #8e2145; $custom-light: #b46778; $custom-dark: #000000;
JSON
{
"hex": "#8e2145",
"rgb": {
"r": 142,
"g": 33,
"b": 69
},
"hsl": {
"h": 340.183,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43622,
"c": 0.14566,
"h": 6.1
},
"luminance": 0.07268
}Semantic roles & 50–950 ramp
primary
#8E2145
secondary
#50BA97
accent
#E5B042
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B