#8E2947#8E2947
#8E2947 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 6.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2947 |
|---|---|
| RGB | rgb(142, 41, 71) |
| HSL | hsl(342, 55%, 36%) |
| HSV | hsv(342, 71%, 56%) |
| CMYK | cmyk(0%, 71.1%, 50%, 44.3%) |
| CIE-LAB | lab(33.55, 44.62, 6.18) |
| CIE-LCH | lch(33.55, 45.04, 7.88°) |
| OKLab | oklab(44.48% 0.136 0.0161) |
| OKLCH | oklch(44.48% 0.137 6.8) |
| XYZ | xyz(13.0867, 7.7933, 6.7751) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.86
Purple Red
#990147
ΔE00 4.15
Red Wine
#8C0034
ΔE00 5.23
Cranberry
#9E003A
ΔE00 5.30
Mulberry
#920A4E
ΔE00 5.34
Violet Red
#A50055
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2947 #298E70
analogous
#8E2979 #8E2947 #8E3D29
triadic
#8E2947 #478E29 #29478E
tetradic
#8E2947 #798E29 #298E70 #3D298E
square
#8E2947 #798E29 #298E70 #3D298E
split-complementary
#8E2947 #298E3D #29798E
monochromatic
#2F0E18 #5F1B2F #8E2947 #BD375F #D16082
Accessibility & contrast
On white
8.21
#8E2947 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8E2947 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2947
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2947 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5B5645
Tritanopia (blue-blind)
#9B1735
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e2947; /* rgb */ color: rgb(142, 41, 71); /* oklch */ color: oklch(44.5% 0.137 6.8);
Tailwind
colors: {
custom: {
50: '#b46a7a',
500: '#8e2947',
950: '#000000',
},
}SCSS
$custom: #8e2947; $custom-light: #b46a7a; $custom-dark: #000000;
JSON
{
"hex": "#8e2947",
"rgb": {
"r": 142,
"g": 41,
"b": 71
},
"hsl": {
"h": 342.178,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.4448,
"c": 0.13694,
"h": 6.8
},
"luminance": 0.07792
}Semantic roles & 50–950 ramp
primary
#8E2947
secondary
#5CB79C
accent
#DFB249
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120709
muted
#817A7B