#7E1828#7E1828
#7E1828 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 18.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1828 |
|---|---|
| RGB | rgb(126, 24, 40) |
| HSL | hsl(351, 68%, 29%) |
| HSV | hsv(351, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.42, 43.38, 17.80) |
| CIE-LCH | lch(27.42, 46.89, 22.31°) |
| OKLab | oklab(39.12% 0.1289 0.0423) |
| OKLCH | oklch(39.12% 0.136 18.2) |
| XYZ | xyz(9.3148, 5.2435, 2.5287) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.27
Burgundy
#800020
ΔE00 2.39
Bordeaux
#7B002C
ΔE00 4.70
Red Wine
#8C0034
ΔE00 5.29
Claret
#680018
ΔE00 5.34
Wine
#722F37
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1828 #187E6E
analogous
#7E185B #7E1828 #7E3B18
triadic
#7E1828 #287E18 #18287E
tetradic
#7E1828 #5B7E18 #187E6E #3B187E
square
#7E1828 #5B7E18 #187E6E #3B187E
split-complementary
#7E1828 #187E3B #185B7E
monochromatic
#1A0508 #4B0E18 #7E1828 #B12238 #D93751
Accessibility & contrast
On white
10.25
#7E1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1828
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1828 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#504825
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1828; /* rgb */ color: rgb(126, 24, 40); /* oklch */ color: oklch(39.1% 0.136 18.2);
Tailwind
colors: {
custom: {
50: '#aa6061',
500: '#7e1828',
950: '#000000',
},
}SCSS
$custom: #7e1828; $custom-light: #aa6061; $custom-dark: #000000;
JSON
{
"hex": "#7e1828",
"rgb": {
"r": 126,
"g": 24,
"b": 40
},
"hsl": {
"h": 350.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39124,
"c": 0.13561,
"h": 18.2
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#7E1828
secondary
#3FB2A0
accent
#EBD03D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979