#7E1426#7E1426
#7E1426 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 18.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1426 |
|---|---|
| RGB | rgb(126, 20, 38) |
| HSL | hsl(350, 73%, 29%) |
| HSV | hsv(350, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 69.8%, 50.6%) |
| CIE-LAB | lab(26.95, 44.47, 18.54) |
| CIE-LCH | lch(26.95, 48.18, 22.64°) |
| OKLab | oklab(38.77% 0.1319 0.0437) |
| OKLCH | oklch(38.77% 0.139 18.3) |
| XYZ | xyz(9.2052, 5.0773, 2.3287) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.83
Wine Red
#7B0323
ΔE00 1.89
Bordeaux
#7B002C
ΔE00 4.71
Claret
#680018
ΔE00 5.01
Red Wine
#8C0034
ΔE00 5.40
Wine
#722F37
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1426 #147E6C
analogous
#7E145B #7E1426 #7E3714
triadic
#7E1426 #267E14 #14267E
tetradic
#7E1426 #5B7E14 #147E6C #37147E
square
#7E1426 #5B7E14 #147E6C #37147E
split-complementary
#7E1426 #147E37 #145B7E
monochromatic
#1A0408 #490C16 #7E1426 #B31C36 #DE2E4C
Accessibility & contrast
On white
10.42
#7E1426 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1426 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1426
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1426 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1426 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353226
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1426; /* rgb */ color: rgb(126, 20, 38); /* oklch */ color: oklch(38.8% 0.139 18.3);
Tailwind
colors: {
custom: {
50: '#ab5e60',
500: '#7e1426',
950: '#000000',
},
}SCSS
$custom: #7e1426; $custom-light: #ab5e60; $custom-dark: #000000;
JSON
{
"hex": "#7e1426",
"rgb": {
"r": 126,
"g": 20,
"b": 38
},
"hsl": {
"h": 349.811,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.38769,
"c": 0.13893,
"h": 18.3
},
"luminance": 0.05076
}Semantic roles & 50–950 ramp
primary
#7E1426
secondary
#3AB39F
accent
#EFD038
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979