#7E1528#7E1528
#7E1528 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 17.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1528 |
|---|---|
| RGB | rgb(126, 21, 40) |
| HSL | hsl(349, 71%, 29%) |
| HSV | hsv(349, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.09, 44.30, 17.38) |
| CIE-LCH | lch(27.09, 47.59, 21.43°) |
| OKLab | oklab(38.88% 0.1318 0.0413) |
| OKLCH | oklch(38.88% 0.138 17.4) |
| XYZ | xyz(9.2564, 5.1266, 2.5092) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.84
Burgundy
#800020
ΔE00 2.27
Bordeaux
#7B002C
ΔE00 4.18
Red Wine
#8C0034
ΔE00 4.88
Claret
#680018
ΔE00 5.19
Wine
#722F37
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1528 #157E6B
analogous
#7E155D #7E1528 #7E3715
triadic
#7E1528 #287E15 #15287E
tetradic
#7E1528 #5D7E15 #157E6B #37157E
square
#7E1528 #5D7E15 #157E6B #37157E
split-complementary
#7E1528 #157E37 #155D7E
monochromatic
#1A0408 #4A0C17 #7E1528 #B21E39 #DD3150
Accessibility & contrast
On white
10.37
#7E1528 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1528 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1528
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1528 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1528 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1528; /* rgb */ color: rgb(126, 21, 40); /* oklch */ color: oklch(38.9% 0.138 17.4);
Tailwind
colors: {
custom: {
50: '#aa5f61',
500: '#7e1528',
950: '#000000',
},
}SCSS
$custom: #7e1528; $custom-light: #aa5f61; $custom-dark: #000000;
JSON
{
"hex": "#7e1528",
"rgb": {
"r": 126,
"g": 21,
"b": 40
},
"hsl": {
"h": 349.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38883,
"c": 0.13813,
"h": 17.4
},
"luminance": 0.05125
}Semantic roles & 50–950 ramp
primary
#7E1528
secondary
#3CB39D
accent
#EECE3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979