#8E2242#8E2242
#8E2242 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.144 H 8.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2242 |
|---|---|
| RGB | rgb(142, 34, 66) |
| HSL | hsl(342, 61%, 35%) |
| HSV | hsv(342, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 53.5%, 44.3%) |
| CIE-LAB | lab(32.46, 46.83, 7.90) |
| CIE-LCH | lch(32.46, 47.49, 9.58°) |
| OKLab | oklab(43.63% 0.1425 0.0203) |
| OKLCH | oklch(43.63% 0.144 8.1) |
| XYZ | xyz(12.7119, 7.2899, 5.8909) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.74
Berry
#990F4B
ΔE00 3.83
Red Wine
#8C0034
ΔE00 3.83
Cranberry
#9E003A
ΔE00 4.23
Mulberry
#920A4E
ΔE00 5.47
Wine (survey)
#80013F
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2242 #228E6E
analogous
#8E2278 #8E2242 #8E3822
triadic
#8E2242 #428E22 #22428E
tetradic
#8E2242 #788E22 #228E6E #38228E
square
#8E2242 #788E22 #228E6E #38228E
split-complementary
#8E2242 #228E38 #22788E
monochromatic
#2B0A14 #5D162B #8E2242 #BF2E59 #D6547B
Accessibility & contrast
On white
8.54
#8E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E2242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2242
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2242 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#9B062F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2242; /* rgb */ color: rgb(142, 34, 66); /* oklch */ color: oklch(43.6% 0.144 8.1);
Tailwind
colors: {
custom: {
50: '#b56776',
500: '#8e2242',
950: '#000000',
},
}SCSS
$custom: #8e2242; $custom-light: #b56776; $custom-dark: #000000;
JSON
{
"hex": "#8e2242",
"rgb": {
"r": 142,
"g": 34,
"b": 66
},
"hsl": {
"h": 342.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.43629,
"c": 0.14398,
"h": 8.1
},
"luminance": 0.07288
}Semantic roles & 50–950 ramp
primary
#8E2242
secondary
#52BA9B
accent
#E4B543
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B