#8E1A42#8E1A42
#8E1A42 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 6.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A42 |
|---|---|
| RGB | rgb(142, 26, 66) |
| HSL | hsl(339, 69%, 33%) |
| HSV | hsv(339, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 53.5%, 44.3%) |
| CIE-LAB | lab(31.54, 49.41, 6.62) |
| CIE-LCH | lch(31.54, 49.85, 7.63°) |
| OKLab | oklab(42.95% 0.1509 0.0172) |
| OKLCH | oklch(42.95% 0.152 6.5) |
| XYZ | xyz(12.5093, 6.8847, 5.8234) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.71
Berry
#990F4B
ΔE00 2.93
Red Wine
#8C0034
ΔE00 3.58
Mulberry
#920A4E
ΔE00 4.34
Cranberry
#9E003A
ΔE00 4.45
Wine (survey)
#80013F
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A42 #1A8E66
analogous
#8E1A7C #8E1A42 #8E2C1A
triadic
#8E1A42 #428E1A #1A428E
tetradic
#8E1A42 #7C8E1A #1A8E66 #2C1A8E
square
#8E1A42 #7C8E1A #1A8E66 #2C1A8E
split-complementary
#8E1A42 #1A8E2C #1A7C8E
monochromatic
#270712 #5A112A #8E1A42 #C2235A #DD457A
Accessibility & contrast
On white
8.84
#8E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A42
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A42 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1a42; /* rgb */ color: rgb(142, 26, 66); /* oklch */ color: oklch(43.0% 0.152 6.5);
Tailwind
colors: {
custom: {
50: '#b56476',
500: '#8e1a42',
950: '#000000',
},
}SCSS
$custom: #8e1a42; $custom-light: #b56476; $custom-dark: #000000;
JSON
{
"hex": "#8e1a42",
"rgb": {
"r": 142,
"g": 26,
"b": 66
},
"hsl": {
"h": 339.31,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.42954,
"c": 0.15183,
"h": 6.5
},
"luminance": 0.06883
}Semantic roles & 50–950 ramp
primary
#8E1A42
secondary
#45BE95
accent
#ECAF3C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B