#7E1B26#7E1B26
#7E1B26 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 20.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B26 |
|---|---|
| RGB | rgb(126, 27, 38) |
| HSL | hsl(353, 65%, 30%) |
| HSV | hsv(353, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.74, 42.26, 19.52) |
| CIE-LCH | lch(27.74, 46.55, 24.80°) |
| OKLab | oklab(39.35% 0.1248 0.0459) |
| OKLCH | oklch(39.35% 0.133 20.2) |
| XYZ | xyz(9.3470, 5.3608, 2.3759) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.60
Wine Red
#7B0323
ΔE00 3.15
Claret
#680018
ΔE00 5.55
Bordeaux
#7B002C
ΔE00 5.96
Wine
#722F37
ΔE00 6.21
Red Wine
#8C0034
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B26 #1B7E73
analogous
#7E1B58 #7E1B26 #7E411B
triadic
#7E1B26 #267E1B #1B267E
tetradic
#7E1B26 #587E1B #1B7E73 #411B7E
square
#7E1B26 #587E1B #1B7E73 #411B7E
split-complementary
#7E1B26 #1B7E41 #1B587E
monochromatic
#190508 #4C1017 #7E1B26 #B02635 #D63E4F
Accessibility & contrast
On white
10.14
#7E1B26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1B26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B26
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B26 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1b26; /* rgb */ color: rgb(126, 27, 38); /* oklch */ color: oklch(39.4% 0.133 20.2);
Tailwind
colors: {
custom: {
50: '#aa6160',
500: '#7e1b26',
950: '#000000',
},
}SCSS
$custom: #7e1b26; $custom-light: #aa6160; $custom-dark: #000000;
JSON
{
"hex": "#7e1b26",
"rgb": {
"r": 126,
"g": 27,
"b": 38
},
"hsl": {
"h": 353.333,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.3935,
"c": 0.13297,
"h": 20.2
},
"luminance": 0.05359
}Semantic roles & 50–950 ramp
primary
#7E1B26
secondary
#43B2A6
accent
#E8D540
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79