#8E1848#8E1848
#8E1848 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 2.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1848 |
|---|---|
| RGB | rgb(142, 24, 72) |
| HSL | hsl(336, 71%, 33%) |
| HSV | hsv(336, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.52, 50.48, 2.62) |
| CIE-LCH | lch(31.52, 50.55, 2.97°) |
| OKLab | oklab(42.99% 0.1549 0.0072) |
| OKLCH | oklch(42.99% 0.155 2.7) |
| XYZ | xyz(12.6528, 6.8737, 6.7901) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.04
Purple Red
#990147
ΔE00 2.31
Mulberry
#920A4E
ΔE00 2.32
Reddish Purple
#910951
ΔE00 3.26
Wine (survey)
#80013F
ΔE00 3.79
Red Purple
#820747
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1848 #188E5E
analogous
#8E1883 #8E1848 #8E2318
triadic
#8E1848 #488E18 #18488E
tetradic
#8E1848 #838E18 #188E5E #23188E
square
#8E1848 #838E18 #188E5E #23188E
split-complementary
#8E1848 #188E23 #18838E
monochromatic
#250613 #5A0F2D #8E1848 #C22163 #DF4182
Accessibility & contrast
On white
8.84
#8E1848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1848
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1848 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1848; /* rgb */ color: rgb(142, 24, 72); /* oklch */ color: oklch(43.0% 0.155 2.7);
Tailwind
colors: {
custom: {
50: '#b5637a',
500: '#8e1848',
950: '#000000',
},
}SCSS
$custom: #8e1848; $custom-light: #b5637a; $custom-dark: #000000;
JSON
{
"hex": "#8e1848",
"rgb": {
"r": 142,
"g": 24,
"b": 72
},
"hsl": {
"h": 335.593,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42992,
"c": 0.15511,
"h": 2.7
},
"luminance": 0.06872
}Semantic roles & 50–950 ramp
primary
#8E1848
secondary
#42C08D
accent
#EEA53A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B