#7E2220#7E2220
#7E2220 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 26.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2220 |
|---|---|
| RGB | rgb(126, 34, 32) |
| HSL | hsl(1, 59%, 31%) |
| HSV | hsv(1, 75%, 49%) |
| CMYK | cmyk(0%, 73%, 74.6%, 50.6%) |
| CIE-LAB | lab(28.60, 39.27, 24.43) |
| CIE-LCH | lch(28.60, 46.25, 31.88°) |
| OKLab | oklab(39.96% 0.1139 0.0557) |
| OKLCH | oklch(39.96% 0.127 26) |
| XYZ | xyz(9.4380, 5.6854, 1.9666) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.91
Burgundy
#800020
ΔE00 5.37
Blood
#770001
ΔE00 5.97
Reddy Brown
#6E1005
ΔE00 5.98
Indian Red
#850E04
ΔE00 6.19
Maroon
#800000
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2220 #207C7E
analogous
#7E204D #7E2220 #7E5120
triadic
#7E2220 #207E22 #22207E
tetradic
#7E2220 #4D7E20 #207C7E #51207E
square
#7E2220 #4D7E20 #207C7E #51207E
split-complementary
#7E2220 #207E51 #204D7E
monochromatic
#1C0807 #4D1514 #7E2220 #AF2F2C #D04B48
Accessibility & contrast
On white
9.83
#7E2220 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2220 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2220
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2220 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2220 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C371F
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#8B0223
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2220; /* rgb */ color: rgb(126, 34, 32); /* oklch */ color: oklch(40.0% 0.127 26.0);
Tailwind
colors: {
custom: {
50: '#aa645b',
500: '#7e2220',
950: '#000000',
},
}SCSS
$custom: #7e2220; $custom-light: #aa645b; $custom-dark: #000000;
JSON
{
"hex": "#7e2220",
"rgb": {
"r": 126,
"g": 34,
"b": 32
},
"hsl": {
"h": 1.277,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.39964,
"c": 0.1268,
"h": 26
},
"luminance": 0.05684
}Semantic roles & 50–950 ramp
primary
#7E2220
secondary
#49AFB1
accent
#DFE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79