#7E1524#7E1524
#7E1524 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 19.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1524 |
|---|---|
| RGB | rgb(126, 21, 36) |
| HSL | hsl(351, 71%, 29%) |
| HSV | hsv(351, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 71.4%, 50.6%) |
| CIE-LAB | lab(27.02, 44.07, 19.95) |
| CIE-LCH | lch(27.02, 48.38, 24.36°) |
| OKLab | oklab(38.81% 0.1301 0.0465) |
| OKLCH | oklch(38.81% 0.138 19.7) |
| XYZ | xyz(9.1918, 5.1008, 2.1693) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.79
Wine Red
#7B0323
ΔE00 2.47
Claret
#680018
ΔE00 5.05
Bordeaux
#7B002C
ΔE00 5.56
Red Wine
#8C0034
ΔE00 6.20
Rosewood
#65000B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1524 #157E6F
analogous
#7E1559 #7E1524 #7E3B15
triadic
#7E1524 #247E15 #15247E
tetradic
#7E1524 #597E15 #157E6F #3B157E
square
#7E1524 #597E15 #157E6F #3B157E
split-complementary
#7E1524 #157E3B #15597E
monochromatic
#1A0407 #4A0C15 #7E1524 #B21E33 #DD3149
Accessibility & contrast
On white
10.40
#7E1524 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1524 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1524
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1524 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1524 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353224
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1524; /* rgb */ color: rgb(126, 21, 36); /* oklch */ color: oklch(38.8% 0.138 19.7);
Tailwind
colors: {
custom: {
50: '#ab5e5e',
500: '#7e1524',
950: '#000000',
},
}SCSS
$custom: #7e1524; $custom-light: #ab5e5e; $custom-dark: #000000;
JSON
{
"hex": "#7e1524",
"rgb": {
"r": 126,
"g": 21,
"b": 36
},
"hsl": {
"h": 351.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38806,
"c": 0.13822,
"h": 19.7
},
"luminance": 0.05099
}Semantic roles & 50–950 ramp
primary
#7E1524
secondary
#3CB3A2
accent
#EED43A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979