#7E2229#7E2229
#7E2229 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 20.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2229 |
|---|---|
| RGB | rgb(126, 34, 41) |
| HSL | hsl(355, 58%, 31%) |
| HSV | hsv(355, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 67.5%, 50.6%) |
| CIE-LAB | lab(28.75, 39.78, 18.82) |
| CIE-LCH | lch(28.75, 44.01, 25.32°) |
| OKLab | oklab(40.12% 0.1176 0.0447) |
| OKLCH | oklch(40.12% 0.126 20.8) |
| XYZ | xyz(9.5775, 5.7412, 2.7012) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.76
Wine Red
#7B0323
ΔE00 4.17
Wine
#722F37
ΔE00 5.53
Claret
#680018
ΔE00 6.37
Bordeaux
#7B002C
ΔE00 6.59
Red Wine
#8C0034
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2229 #227E77
analogous
#7E2257 #7E2229 #7E4922
triadic
#7E2229 #297E22 #22297E
tetradic
#7E2229 #577E22 #227E77 #49227E
square
#7E2229 #577E22 #227E77 #49227E
split-complementary
#7E2229 #227E49 #22577E
monochromatic
#1E080A #4E1519 #7E2229 #AE2F39 #CF4C56
Accessibility & contrast
On white
9.78
#7E2229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E2229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2229
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2229 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#524B26
Tritanopia (blue-blind)
#8B0625
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2229; /* rgb */ color: rgb(126, 34, 41); /* oklch */ color: oklch(40.1% 0.126 20.8);
Tailwind
colors: {
custom: {
50: '#aa6462',
500: '#7e2229',
950: '#000000',
},
}SCSS
$custom: #7e2229; $custom-light: #aa6462; $custom-dark: #000000;
JSON
{
"hex": "#7e2229",
"rgb": {
"r": 126,
"g": 34,
"b": 41
},
"hsl": {
"h": 355.435,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.4012,
"c": 0.1258,
"h": 20.8
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#7E2229
secondary
#4BB1A9
accent
#E1D547
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79