#7E1826#7E1826
#7E1826 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 19.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1826 |
|---|---|
| RGB | rgb(126, 24, 38) |
| HSL | hsl(352, 68%, 29%) |
| HSV | hsv(352, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.38, 43.26, 19.08) |
| CIE-LCH | lch(27.38, 47.28, 23.80°) |
| OKLab | oklab(39.09% 0.128 0.0449) |
| OKLCH | oklch(39.09% 0.136 19.3) |
| XYZ | xyz(9.2817, 5.2303, 2.3542) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.18
Wine Red
#7B0323
ΔE00 2.56
Claret
#680018
ΔE00 5.27
Bordeaux
#7B002C
ΔE00 5.38
Red Wine
#8C0034
ΔE00 5.95
Wine
#722F37
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1826 #187E70
analogous
#7E1859 #7E1826 #7E3D18
triadic
#7E1826 #267E18 #18267E
tetradic
#7E1826 #597E18 #187E70 #3D187E
square
#7E1826 #597E18 #187E70 #3D187E
split-complementary
#7E1826 #187E3D #18597E
monochromatic
#1A0508 #4B0E16 #7E1826 #B12236 #D9374E
Accessibility & contrast
On white
10.26
#7E1826 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1826 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1826
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1826 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1826; /* rgb */ color: rgb(126, 24, 38); /* oklch */ color: oklch(39.1% 0.136 19.3);
Tailwind
colors: {
custom: {
50: '#aa6060',
500: '#7e1826',
950: '#000000',
},
}SCSS
$custom: #7e1826; $custom-light: #aa6060; $custom-dark: #000000;
JSON
{
"hex": "#7e1826",
"rgb": {
"r": 126,
"g": 24,
"b": 38
},
"hsl": {
"h": 351.765,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39085,
"c": 0.13566,
"h": 19.3
},
"luminance": 0.05229
}Semantic roles & 50–950 ramp
primary
#7E1826
secondary
#3FB2A3
accent
#EBD33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979