#8E1245#8E1245
#8E1245 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.159 H 3.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1245 |
|---|---|
| RGB | rgb(142, 18, 69) |
| HSL | hsl(335, 78%, 31%) |
| HSV | hsv(335, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 51.4%, 44.3%) |
| CIE-LAB | lab(30.91, 51.70, 3.73) |
| CIE-LCH | lch(30.91, 51.83, 4.13°) |
| OKLab | oklab(42.52% 0.1586 0.01) |
| OKLCH | oklch(42.52% 0.159 3.6) |
| XYZ | xyz(12.4470, 6.6149, 6.2505) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.04
Berry
#990F4B
ΔE00 2.16
Mulberry
#920A4E
ΔE00 2.68
Wine (survey)
#80013F
ΔE00 3.49
Reddish Purple
#910951
ΔE00 3.66
Red Purple
#820747
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1245 #128E5B
analogous
#8E1283 #8E1245 #8E1D12
triadic
#8E1245 #458E12 #12458E
tetradic
#8E1245 #838E12 #128E5B #1D128E
square
#8E1245 #838E12 #128E5B #1D128E
split-complementary
#8E1245 #128E1D #12838E
monochromatic
#210410 #580B2B #8E1245 #C4195F #E5357E
Accessibility & contrast
On white
9.04
#8E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1245 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1245
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1245 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1245 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1245; /* rgb */ color: rgb(142, 18, 69); /* oklch */ color: oklch(42.5% 0.159 3.6);
Tailwind
colors: {
custom: {
50: '#b56278',
500: '#8e1245',
950: '#000000',
},
}SCSS
$custom: #8e1245; $custom-light: #b56278; $custom-dark: #000000;
JSON
{
"hex": "#8e1245",
"rgb": {
"r": 142,
"g": 18,
"b": 69
},
"hsl": {
"h": 335.323,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.4252,
"c": 0.15892,
"h": 3.6
},
"luminance": 0.06613
}Semantic roles & 50–950 ramp
primary
#8E1245
secondary
#3AC28A
accent
#F4A534
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B