#8E213D#8E213D
#8E213D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.144 H 10.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8E213D |
|---|---|
| RGB | rgb(142, 33, 61) |
| HSL | hsl(345, 62%, 34%) |
| HSV | hsv(345, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 57%, 44.3%) |
| CIE-LAB | lab(32.21, 46.77, 10.84) |
| CIE-LCH | lch(32.21, 48.01, 13.05°) |
| OKLab | oklab(43.4% 0.1417 0.0273) |
| OKLCH | oklch(43.4% 0.144 10.9) |
| XYZ | xyz(12.5427, 7.1772, 5.1389) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.19
Cranberry
#9E003A
ΔE00 3.51
Purple Red
#990147
ΔE00 4.85
Berry
#990F4B
ΔE00 5.15
Bordeaux
#7B002C
ΔE00 5.56
Rouge
#AB1239
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E213D #218E72
analogous
#8E2174 #8E213D #8E3C21
triadic
#8E213D #3D8E21 #213D8E
tetradic
#8E213D #748E21 #218E72 #3C218E
square
#8E213D #748E21 #218E72 #3C218E
split-complementary
#8E213D #218E3C #21748E
monochromatic
#2B0A12 #5C1528 #8E213D #C02D52 #D75275
Accessibility & contrast
On white
8.62
#8E213D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8E213D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E213D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E213D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E213D | 1.00 | 8.62 | 2.43 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E3D
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e213d; /* rgb */ color: rgb(142, 33, 61); /* oklch */ color: oklch(43.4% 0.144 10.9);
Tailwind
colors: {
custom: {
50: '#b56672',
500: '#8e213d',
950: '#000000',
},
}SCSS
$custom: #8e213d; $custom-light: #b56672; $custom-dark: #000000;
JSON
{
"hex": "#8e213d",
"rgb": {
"r": 142,
"g": 33,
"b": 61
},
"hsl": {
"h": 344.587,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43402,
"c": 0.14425,
"h": 10.9
},
"luminance": 0.07175
}Semantic roles & 50–950 ramp
primary
#8E213D
secondary
#50BA9F
accent
#E5BC42
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A