#8E1243#8E1243
#8E1243 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 4.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1243 |
|---|---|
| RGB | rgb(142, 18, 67) |
| HSL | hsl(336, 78%, 31%) |
| HSV | hsv(336, 87%, 56%) |
| CMYK | cmyk(0%, 87.3%, 52.8%, 44.3%) |
| CIE-LAB | lab(30.86, 51.53, 4.98) |
| CIE-LCH | lch(30.86, 51.77, 5.52°) |
| OKLab | oklab(42.46% 0.1579 0.0131) |
| OKLCH | oklch(42.46% 0.158 4.7) |
| XYZ | xyz(12.3859, 6.5904, 5.9290) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.08
Berry
#990F4B
ΔE00 2.39
Mulberry
#920A4E
ΔE00 3.30
Wine (survey)
#80013F
ΔE00 3.72
Red Wine
#8C0034
ΔE00 4.01
Reddish Purple
#910951
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1243 #128E5D
analogous
#8E1281 #8E1243 #8E1F12
triadic
#8E1243 #438E12 #12438E
tetradic
#8E1243 #818E12 #128E5D #1F128E
square
#8E1243 #818E12 #128E5D #1F128E
split-complementary
#8E1243 #128E1F #12818E
monochromatic
#210410 #580B29 #8E1243 #C4195D #E5357B
Accessibility & contrast
On white
9.06
#8E1243 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8E1243 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1243
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1243 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1243 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1243; /* rgb */ color: rgb(142, 18, 67); /* oklch */ color: oklch(42.5% 0.158 4.7);
Tailwind
colors: {
custom: {
50: '#b56176',
500: '#8e1243',
950: '#000000',
},
}SCSS
$custom: #8e1243; $custom-light: #b56176; $custom-dark: #000000;
JSON
{
"hex": "#8e1243",
"rgb": {
"r": 142,
"g": 18,
"b": 67
},
"hsl": {
"h": 336.29,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.42459,
"c": 0.15839,
"h": 4.7
},
"luminance": 0.06589
}Semantic roles & 50–950 ramp
primary
#8E1243
secondary
#3AC28C
accent
#F4A834
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B