#8E1A38#8E1A38
#8E1A38 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 12.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A38 |
|---|---|
| RGB | rgb(142, 26, 56) |
| HSL | hsl(344, 69%, 33%) |
| HSV | hsv(344, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 60.6%, 44.3%) |
| CIE-LAB | lab(31.29, 48.64, 12.89) |
| CIE-LCH | lch(31.29, 50.32, 14.84°) |
| OKLab | oklab(42.69% 0.1468 0.0319) |
| OKLCH | oklch(42.69% 0.15 12.3) |
| XYZ | xyz(12.2398, 6.7769, 4.4042) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.34
Cranberry
#9E003A
ΔE00 3.05
Bordeaux
#7B002C
ΔE00 4.85
Purple Red
#990147
ΔE00 5.40
Wine Red
#7B0323
ΔE00 5.66
Berry
#990F4B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A38 #1A8E70
analogous
#8E1A72 #8E1A38 #8E361A
triadic
#8E1A38 #388E1A #1A388E
tetradic
#8E1A38 #728E1A #1A8E70 #361A8E
square
#8E1A38 #728E1A #1A8E70 #361A8E
split-complementary
#8E1A38 #1A8E36 #1A728E
monochromatic
#27070F #5A1124 #8E1A38 #C2234C #DD456D
Accessibility & contrast
On white
8.92
#8E1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8E1A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A38
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A38 | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3A38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1a38; /* rgb */ color: rgb(142, 26, 56); /* oklch */ color: oklch(42.7% 0.150 12.3);
Tailwind
colors: {
custom: {
50: '#b6646e',
500: '#8e1a38',
950: '#000000',
},
}SCSS
$custom: #8e1a38; $custom-light: #b6646e; $custom-dark: #000000;
JSON
{
"hex": "#8e1a38",
"rgb": {
"r": 142,
"g": 26,
"b": 56
},
"hsl": {
"h": 344.483,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.4269,
"c": 0.15027,
"h": 12.3
},
"luminance": 0.06775
}Semantic roles & 50–950 ramp
primary
#8E1A38
secondary
#45BE9F
accent
#ECBE3C
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A