#7E1A28#7E1A28
#7E1A28 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 18.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A28 |
|---|---|
| RGB | rgb(126, 26, 40) |
| HSL | hsl(352, 66%, 30%) |
| HSV | hsv(352, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.65, 42.72, 18.09) |
| CIE-LCH | lch(27.65, 46.39, 22.95°) |
| OKLab | oklab(39.3% 0.1267 0.043) |
| OKLCH | oklch(39.3% 0.134 18.7) |
| XYZ | xyz(9.3576, 5.3290, 2.5430) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.54
Wine Red
#7B0323
ΔE00 2.61
Bordeaux
#7B002C
ΔE00 5.08
Claret
#680018
ΔE00 5.47
Red Wine
#8C0034
ΔE00 5.60
Wine
#722F37
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A28 #1A7E70
analogous
#7E1A5A #7E1A28 #7E3E1A
triadic
#7E1A28 #287E1A #1A287E
tetradic
#7E1A28 #5A7E1A #1A7E70 #3E1A7E
square
#7E1A28 #5A7E1A #1A7E70 #3E1A7E
split-complementary
#7E1A28 #1A7E3E #1A5A7E
monochromatic
#190508 #4B1018 #7E1A28 #B12438 #D73C51
Accessibility & contrast
On white
10.17
#7E1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1A28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A28
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A28 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a28; /* rgb */ color: rgb(126, 26, 40); /* oklch */ color: oklch(39.3% 0.134 18.7);
Tailwind
colors: {
custom: {
50: '#aa6061',
500: '#7e1a28',
950: '#000000',
},
}SCSS
$custom: #7e1a28; $custom-light: #aa6061; $custom-dark: #000000;
JSON
{
"hex": "#7e1a28",
"rgb": {
"r": 126,
"g": 26,
"b": 40
},
"hsl": {
"h": 351.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39298,
"c": 0.13382,
"h": 18.7
},
"luminance": 0.05328
}Semantic roles & 50–950 ramp
primary
#7E1A28
secondary
#42B2A2
accent
#E9D13F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79