#7E1829#7E1829
#7E1829 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 17.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1829 |
|---|---|
| RGB | rgb(126, 24, 41) |
| HSL | hsl(350, 68%, 29%) |
| HSV | hsv(350, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 67.5%, 50.6%) |
| CIE-LAB | lab(27.44, 43.44, 17.16) |
| CIE-LCH | lch(27.44, 46.70, 21.55°) |
| OKLab | oklab(39.14% 0.1293 0.0409) |
| OKLCH | oklch(39.14% 0.136 17.6) |
| XYZ | xyz(9.3321, 5.2504, 2.6194) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.21
Burgundy
#800020
ΔE00 2.57
Bordeaux
#7B002C
ΔE00 4.38
Red Wine
#8C0034
ΔE00 4.97
Claret
#680018
ΔE00 5.41
Wine
#722F37
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1829 #187E6D
analogous
#7E185C #7E1829 #7E3A18
triadic
#7E1829 #297E18 #18297E
tetradic
#7E1829 #5C7E18 #187E6D #3A187E
square
#7E1829 #5C7E18 #187E6D #3A187E
split-complementary
#7E1829 #187E3A #185C7E
monochromatic
#1A0508 #4B0E18 #7E1829 #B1223A #D93752
Accessibility & contrast
On white
10.24
#7E1829 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1829 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1829
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1829 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1829 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#504826
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1829; /* rgb */ color: rgb(126, 24, 41); /* oklch */ color: oklch(39.1% 0.136 17.6);
Tailwind
colors: {
custom: {
50: '#aa6062',
500: '#7e1829',
950: '#000000',
},
}SCSS
$custom: #7e1829; $custom-light: #aa6062; $custom-dark: #000000;
JSON
{
"hex": "#7e1829",
"rgb": {
"r": 126,
"g": 24,
"b": 41
},
"hsl": {
"h": 350,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39144,
"c": 0.1356,
"h": 17.6
},
"luminance": 0.05249
}Semantic roles & 50–950 ramp
primary
#7E1829
secondary
#3FB29F
accent
#EBCE3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979