#7E1A26#7E1A26
#7E1A26 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 19.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A26 |
|---|---|
| RGB | rgb(126, 26, 38) |
| HSL | hsl(353, 66%, 30%) |
| HSV | hsv(353, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.62, 42.60, 19.37) |
| CIE-LCH | lch(27.62, 46.80, 24.45°) |
| OKLab | oklab(39.26% 0.1259 0.0455) |
| OKLCH | oklch(39.26% 0.134 19.9) |
| XYZ | xyz(9.3245, 5.3158, 2.3684) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.45
Wine Red
#7B0323
ΔE00 2.94
Claret
#680018
ΔE00 5.45
Bordeaux
#7B002C
ΔE00 5.76
Wine
#722F37
ΔE00 6.23
Red Wine
#8C0034
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A26 #1A7E72
analogous
#7E1A58 #7E1A26 #7E401A
triadic
#7E1A26 #267E1A #1A267E
tetradic
#7E1A26 #587E1A #1A7E72 #401A7E
square
#7E1A26 #587E1A #1A7E72 #401A7E
split-complementary
#7E1A26 #1A7E40 #1A587E
monochromatic
#190508 #4B1017 #7E1A26 #B12435 #D73C4E
Accessibility & contrast
On white
10.18
#7E1A26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1A26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A26
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A26 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373426
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a26; /* rgb */ color: rgb(126, 26, 38); /* oklch */ color: oklch(39.3% 0.134 19.9);
Tailwind
colors: {
custom: {
50: '#aa6060',
500: '#7e1a26',
950: '#000000',
},
}SCSS
$custom: #7e1a26; $custom-light: #aa6060; $custom-dark: #000000;
JSON
{
"hex": "#7e1a26",
"rgb": {
"r": 126,
"g": 26,
"b": 38
},
"hsl": {
"h": 352.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39259,
"c": 0.13388,
"h": 19.9
},
"luminance": 0.05314
}Semantic roles & 50–950 ramp
primary
#7E1A26
secondary
#42B2A5
accent
#E9D43F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79