#7E1626#7E1626
#7E1626 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.137 H 18.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1626 |
|---|---|
| RGB | rgb(126, 22, 38) |
| HSL | hsl(351, 70%, 29%) |
| HSV | hsv(351, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.16, 43.89, 18.80) |
| CIE-LCH | lch(27.16, 47.74, 23.19°) |
| OKLab | oklab(38.92% 0.13 0.0443) |
| OKLCH | oklch(38.92% 0.137 18.8) |
| XYZ | xyz(9.2420, 5.1508, 2.3409) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.97
Wine Red
#7B0323
ΔE00 2.20
Bordeaux
#7B002C
ΔE00 5.03
Claret
#680018
ΔE00 5.13
Red Wine
#8C0034
ΔE00 5.66
Wine
#722F37
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1626 #167E6E
analogous
#7E165A #7E1626 #7E3A16
triadic
#7E1626 #267E16 #16267E
tetradic
#7E1626 #5A7E16 #167E6E #3A167E
square
#7E1626 #5A7E16 #167E6E #3A167E
split-complementary
#7E1626 #167E3A #165A7E
monochromatic
#1A0508 #4A0D16 #7E1626 #B21F36 #DB334D
Accessibility & contrast
On white
10.35
#7E1626 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1626 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1626
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1626 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1626 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363226
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1626; /* rgb */ color: rgb(126, 22, 38); /* oklch */ color: oklch(38.9% 0.137 18.8);
Tailwind
colors: {
custom: {
50: '#aa5f60',
500: '#7e1626',
950: '#000000',
},
}SCSS
$custom: #7e1626; $custom-light: #aa5f60; $custom-dark: #000000;
JSON
{
"hex": "#7e1626",
"rgb": {
"r": 126,
"g": 22,
"b": 38
},
"hsl": {
"h": 350.769,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38921,
"c": 0.13735,
"h": 18.8
},
"luminance": 0.05149
}Semantic roles & 50–950 ramp
primary
#7E1626
secondary
#3DB3A1
accent
#EDD23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979