#8E124B#8E124B
#8E124B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.161 H 0.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E124B |
|---|---|
| RGB | rgb(142, 18, 75) |
| HSL | hsl(332, 78%, 31%) |
| HSV | hsv(332, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 47.2%, 44.3%) |
| CIE-LAB | lab(31.10, 52.22, 0.02) |
| CIE-LCH | lch(31.10, 52.22, 0.03°) |
| OKLab | oklab(42.72% 0.1608 0.0006) |
| OKLCH | oklch(42.72% 0.161 0.2) |
| XYZ | xyz(12.6427, 6.6932, 7.2814) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.05
Reddish Purple
#910951
ΔE00 1.86
Berry
#990F4B
ΔE00 2.50
Purple Red
#990147
ΔE00 2.88
Red Purple
#820747
ΔE00 2.92
Dark Magenta
#960056
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E124B #128E55
analogous
#8E1289 #8E124B #8E1712
triadic
#8E124B #4B8E12 #124B8E
tetradic
#8E124B #898E12 #128E55 #17128E
square
#8E124B #898E12 #128E55 #17128E
split-complementary
#8E124B #128E17 #12898E
monochromatic
#210412 #580B2E #8E124B #C41968 #E53586
Accessibility & contrast
On white
8.98
#8E124B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E124B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E124B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E124B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E124B | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333A4C
Deuteranopia (green-blind)
#545148
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e124b; /* rgb */ color: rgb(142, 18, 75); /* oklch */ color: oklch(42.7% 0.161 0.2);
Tailwind
colors: {
custom: {
50: '#b5627d',
500: '#8e124b',
950: '#000000',
},
}SCSS
$custom: #8e124b; $custom-light: #b5627d; $custom-dark: #000000;
JSON
{
"hex": "#8e124b",
"rgb": {
"r": 142,
"g": 18,
"b": 75
},
"hsl": {
"h": 332.419,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42715,
"c": 0.16075,
"h": 0.2
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#8E124B
secondary
#3AC283
accent
#F49C34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B