#7E1428#7E1428
#7E1428 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 17.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1428 |
|---|---|
| RGB | rgb(126, 20, 40) |
| HSL | hsl(349, 73%, 29%) |
| HSV | hsv(349, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 68.3%, 50.6%) |
| CIE-LAB | lab(26.99, 44.58, 17.25) |
| CIE-LCH | lch(26.99, 47.81, 21.16°) |
| OKLab | oklab(38.81% 0.1327 0.041) |
| OKLCH | oklch(38.81% 0.139 17.2) |
| XYZ | xyz(9.2384, 5.0906, 2.5032) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.73
Burgundy
#800020
ΔE00 2.26
Bordeaux
#7B002C
ΔE00 4.03
Red Wine
#8C0034
ΔE00 4.75
Claret
#680018
ΔE00 5.16
Wine
#722F37
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1428 #147E6A
analogous
#7E145D #7E1428 #7E3514
triadic
#7E1428 #287E14 #14287E
tetradic
#7E1428 #5D7E14 #147E6A #35147E
square
#7E1428 #5D7E14 #147E6A #35147E
split-complementary
#7E1428 #147E35 #145D7E
monochromatic
#1A0408 #490C17 #7E1428 #B31C39 #DE2E50
Accessibility & contrast
On white
10.41
#7E1428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1428
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1428 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1428; /* rgb */ color: rgb(126, 20, 40); /* oklch */ color: oklch(38.8% 0.139 17.2);
Tailwind
colors: {
custom: {
50: '#aa5e61',
500: '#7e1428',
950: '#000000',
},
}SCSS
$custom: #7e1428; $custom-light: #aa5e61; $custom-dark: #000000;
JSON
{
"hex": "#7e1428",
"rgb": {
"r": 126,
"g": 20,
"b": 40
},
"hsl": {
"h": 348.679,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.38808,
"c": 0.13892,
"h": 17.2
},
"luminance": 0.05089
}Semantic roles & 50–950 ramp
primary
#7E1428
secondary
#3AB39D
accent
#EFCD38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979