#8E124A#8E124A
#8E124A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.160 H 0.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8E124A |
|---|---|
| RGB | rgb(142, 18, 74) |
| HSL | hsl(333, 78%, 31%) |
| HSV | hsv(333, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 47.9%, 44.3%) |
| CIE-LAB | lab(31.07, 52.13, 0.64) |
| CIE-LCH | lch(31.07, 52.14, 0.70°) |
| OKLab | oklab(42.68% 0.1604 0.0022) |
| OKLCH | oklch(42.68% 0.16 0.8) |
| XYZ | xyz(12.6087, 6.6796, 7.1026) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.27
Reddish Purple
#910951
ΔE00 2.15
Berry
#990F4B
ΔE00 2.35
Purple Red
#990147
ΔE00 2.67
Red Purple
#820747
ΔE00 3.04
Dark Magenta
#960056
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E124A #128E56
analogous
#8E1288 #8E124A #8E1812
triadic
#8E124A #4A8E12 #124A8E
tetradic
#8E124A #888E12 #128E56 #18128E
square
#8E124A #888E12 #128E56 #18128E
split-complementary
#8E124A #128E18 #12888E
monochromatic
#210411 #580B2E #8E124A #C41966 #E53585
Accessibility & contrast
On white
8.99
#8E124A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E124A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E124A
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E124A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E124A | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e124a; /* rgb */ color: rgb(142, 18, 74); /* oklch */ color: oklch(42.7% 0.160 0.8);
Tailwind
colors: {
custom: {
50: '#b5627c',
500: '#8e124a',
950: '#000000',
},
}SCSS
$custom: #8e124a; $custom-light: #b5627c; $custom-dark: #000000;
JSON
{
"hex": "#8e124a",
"rgb": {
"r": 142,
"g": 18,
"b": 74
},
"hsl": {
"h": 332.903,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42682,
"c": 0.16042,
"h": 0.8
},
"luminance": 0.06678
}Semantic roles & 50–950 ramp
primary
#8E124A
secondary
#3AC285
accent
#F49D34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B