#8E1246#8E1246
#8E1246 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.159 H 3.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1246 |
|---|---|
| RGB | rgb(142, 18, 70) |
| HSL | hsl(335, 78%, 31%) |
| HSV | hsv(335, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 50.7%, 44.3%) |
| CIE-LAB | lab(30.94, 51.78, 3.11) |
| CIE-LCH | lch(30.94, 51.87, 3.44°) |
| OKLab | oklab(42.55% 0.159 0.0085) |
| OKLCH | oklch(42.55% 0.159 3) |
| XYZ | xyz(12.4783, 6.6274, 6.4153) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.09
Berry
#990F4B
ΔE00 2.11
Mulberry
#920A4E
ΔE00 2.38
Reddish Purple
#910951
ΔE00 3.35
Wine (survey)
#80013F
ΔE00 3.42
Red Purple
#820747
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1246 #128E5A
analogous
#8E1284 #8E1246 #8E1C12
triadic
#8E1246 #468E12 #12468E
tetradic
#8E1246 #848E12 #128E5A #1C128E
square
#8E1246 #848E12 #128E5A #1C128E
split-complementary
#8E1246 #128E1C #12848E
monochromatic
#210410 #580B2B #8E1246 #C41961 #E5357F
Accessibility & contrast
On white
9.03
#8E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1246 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1246
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1246 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1246; /* rgb */ color: rgb(142, 18, 70); /* oklch */ color: oklch(42.6% 0.159 3.0);
Tailwind
colors: {
custom: {
50: '#b56279',
500: '#8e1246',
950: '#000000',
},
}SCSS
$custom: #8e1246; $custom-light: #b56279; $custom-dark: #000000;
JSON
{
"hex": "#8e1246",
"rgb": {
"r": 142,
"g": 18,
"b": 70
},
"hsl": {
"h": 334.839,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42552,
"c": 0.15919,
"h": 3
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#8E1246
secondary
#3AC289
accent
#F4A334
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B