#7E1728#7E1728
#7E1728 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 17.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1728 |
|---|---|
| RGB | rgb(126, 23, 40) |
| HSL | hsl(350, 69%, 29%) |
| HSV | hsv(350, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.31, 43.70, 17.65) |
| CIE-LCH | lch(27.31, 47.13, 22.00°) |
| OKLab | oklab(39.04% 0.1299 0.042) |
| OKLCH | oklch(39.04% 0.136 17.9) |
| XYZ | xyz(9.2946, 5.2030, 2.5220) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.12
Burgundy
#800020
ΔE00 2.33
Bordeaux
#7B002C
ΔE00 4.52
Red Wine
#8C0034
ΔE00 5.14
Claret
#680018
ΔE00 5.28
Wine
#722F37
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1728 #177E6D
analogous
#7E175C #7E1728 #7E3A17
triadic
#7E1728 #287E17 #17287E
tetradic
#7E1728 #5C7E17 #177E6D #3A177E
square
#7E1728 #5C7E17 #177E6D #3A177E
split-complementary
#7E1728 #177E3A #175C7E
monochromatic
#1A0508 #4A0E18 #7E1728 #B22038 #DA3550
Accessibility & contrast
On white
10.29
#7E1728 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1728 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1728
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1728 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1728; /* rgb */ color: rgb(126, 23, 40); /* oklch */ color: oklch(39.0% 0.136 17.9);
Tailwind
colors: {
custom: {
50: '#aa5f61',
500: '#7e1728',
950: '#000000',
},
}SCSS
$custom: #7e1728; $custom-light: #aa5f61; $custom-dark: #000000;
JSON
{
"hex": "#7e1728",
"rgb": {
"r": 126,
"g": 23,
"b": 40
},
"hsl": {
"h": 350.097,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39041,
"c": 0.13647,
"h": 17.9
},
"luminance": 0.05202
}Semantic roles & 50–950 ramp
primary
#7E1728
secondary
#3EB39F
accent
#ECCF3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979