#7E1628#7E1628
#7E1628 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 17.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1628 |
|---|---|
| RGB | rgb(126, 22, 40) |
| HSL | hsl(350, 70%, 29%) |
| HSV | hsv(350, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.20, 44.00, 17.52) |
| CIE-LCH | lch(27.20, 47.36, 21.71°) |
| OKLab | oklab(38.96% 0.1309 0.0416) |
| OKLCH | oklch(38.96% 0.137 17.7) |
| XYZ | xyz(9.2751, 5.1641, 2.5155) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.97
Burgundy
#800020
ΔE00 2.29
Bordeaux
#7B002C
ΔE00 4.35
Red Wine
#8C0034
ΔE00 5.00
Claret
#680018
ΔE00 5.23
Wine
#722F37
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1628 #167E6C
analogous
#7E165C #7E1628 #7E3816
triadic
#7E1628 #287E16 #16287E
tetradic
#7E1628 #5C7E16 #167E6C #38167E
square
#7E1628 #5C7E16 #167E6C #38167E
split-complementary
#7E1628 #167E38 #165C7E
monochromatic
#1A0508 #4A0D17 #7E1628 #B21F39 #DB3350
Accessibility & contrast
On white
10.33
#7E1628 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1628 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1628
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1628 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1628; /* rgb */ color: rgb(126, 22, 40); /* oklch */ color: oklch(39.0% 0.137 17.7);
Tailwind
colors: {
custom: {
50: '#aa5f61',
500: '#7e1628',
950: '#000000',
},
}SCSS
$custom: #7e1628; $custom-light: #aa5f61; $custom-dark: #000000;
JSON
{
"hex": "#7e1628",
"rgb": {
"r": 126,
"g": 22,
"b": 40
},
"hsl": {
"h": 349.615,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38961,
"c": 0.13732,
"h": 17.7
},
"luminance": 0.05163
}Semantic roles & 50–950 ramp
primary
#7E1628
secondary
#3DB39E
accent
#EDCE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979