#7E1529#7E1529
#7E1529 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 16.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1529 |
|---|---|
| RGB | rgb(126, 21, 41) |
| HSL | hsl(349, 71%, 29%) |
| HSV | hsv(349, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 67.5%, 50.6%) |
| CIE-LAB | lab(27.11, 44.36, 16.74) |
| CIE-LCH | lch(27.11, 47.41, 20.67°) |
| OKLab | oklab(38.9% 0.1322 0.04) |
| OKLCH | oklch(38.9% 0.138 16.8) |
| XYZ | xyz(9.2736, 5.1335, 2.6000) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.86
Burgundy
#800020
ΔE00 2.52
Bordeaux
#7B002C
ΔE00 3.85
Red Wine
#8C0034
ΔE00 4.57
Claret
#680018
ΔE00 5.29
Wine
#722F37
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1529 #157E6A
analogous
#7E155E #7E1529 #7E3615
triadic
#7E1529 #297E15 #15297E
tetradic
#7E1529 #5E7E15 #157E6A #36157E
square
#7E1529 #5E7E15 #157E6A #36157E
split-complementary
#7E1529 #157E36 #155E7E
monochromatic
#1A0409 #4A0C18 #7E1529 #B21E3A #DD3152
Accessibility & contrast
On white
10.36
#7E1529 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1529 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1529
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1529 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1529 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1529; /* rgb */ color: rgb(126, 21, 41); /* oklch */ color: oklch(38.9% 0.138 16.8);
Tailwind
colors: {
custom: {
50: '#aa5f62',
500: '#7e1529',
950: '#000000',
},
}SCSS
$custom: #7e1529; $custom-light: #aa5f62; $custom-dark: #000000;
JSON
{
"hex": "#7e1529",
"rgb": {
"r": 126,
"g": 21,
"b": 41
},
"hsl": {
"h": 348.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38904,
"c": 0.13814,
"h": 16.8
},
"luminance": 0.05132
}Semantic roles & 50–950 ramp
primary
#7E1529
secondary
#3CB39C
accent
#EECC3A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979