#7E2829#7E2829
#7E2829 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.119 H 23.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2829 |
|---|---|
| RGB | rgb(126, 40, 41) |
| HSL | hsl(359, 52%, 33%) |
| HSV | hsv(359, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 67.5%, 50.6%) |
| CIE-LAB | lab(29.70, 37.19, 20.02) |
| CIE-LCH | lch(29.70, 42.23, 28.29°) |
| OKLab | oklab(40.83% 0.1094 0.0474) |
| OKLCH | oklch(40.83% 0.119 23.4) |
| XYZ | xyz(9.7642, 6.1147, 2.7635) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.18
Wine Red
#7B0323
ΔE00 5.81
Wine
#722F37
ΔE00 5.93
Crimson (survey)
#8C000F
ΔE00 6.96
Claret
#680018
ΔE00 7.48
Carmine
#9D0216
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2829 #287E7D
analogous
#7E2854 #7E2829 #7E5228
triadic
#7E2829 #297E28 #28297E
tetradic
#7E2829 #547E28 #287E7D #52287E
square
#7E2829 #547E28 #287E7D #52287E
split-complementary
#7E2829 #287E52 #28547E
monochromatic
#210B0B #50191A #7E2829 #AC3738 #CA5758
Accessibility & contrast
On white
9.45
#7E2829 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E2829 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2829
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2829 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2829 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A28
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#8B1329
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2829; /* rgb */ color: rgb(126, 40, 41); /* oklch */ color: oklch(40.8% 0.119 23.4);
Tailwind
colors: {
custom: {
50: '#a96762',
500: '#7e2829',
950: '#000000',
},
}SCSS
$custom: #7e2829; $custom-light: #a96762; $custom-dark: #000000;
JSON
{
"hex": "#7e2829",
"rgb": {
"r": 126,
"g": 40,
"b": 41
},
"hsl": {
"h": 359.302,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.4083,
"c": 0.11919,
"h": 23.4
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#7E2829
secondary
#53AFAE
accent
#DBDA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79