#7E2222#7E2222
#7E2222 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 24.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2222 |
|---|---|
| RGB | rgb(126, 34, 34) |
| HSL | hsl(0, 58%, 31%) |
| HSV | hsv(0, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 73%, 50.6%) |
| CIE-LAB | lab(28.63, 39.38, 23.20) |
| CIE-LCH | lch(28.63, 45.70, 30.50°) |
| OKLab | oklab(40% 0.1147 0.0534) |
| OKLCH | oklch(40% 0.127 24.9) |
| XYZ | xyz(9.4660, 5.6966, 2.1142) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.85
Crimson (survey)
#8C000F
ΔE00 5.35
Wine Red
#7B0323
ΔE00 5.89
Blood
#770001
ΔE00 6.50
Reddy Brown
#6E1005
ΔE00 6.52
Carmine
#9D0216
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2222 #227E7E
analogous
#7E2250 #7E2222 #7E5022
triadic
#7E2222 #227E22 #22227E
tetradic
#7E2222 #507E22 #227E7E #50227E
square
#7E2222 #507E22 #227E7E #50227E
split-complementary
#7E2222 #227E50 #22507E
monochromatic
#1E0808 #4E1515 #7E2222 #AE2F2F #CF4C4C
Accessibility & contrast
On white
9.82
#7E2222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2222
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2222 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3721
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#8B0323
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2222; /* rgb */ color: rgb(126, 34, 34); /* oklch */ color: oklch(40.0% 0.127 24.9);
Tailwind
colors: {
custom: {
50: '#aa645d',
500: '#7e2222',
950: '#000000',
},
}SCSS
$custom: #7e2222; $custom-light: #aa645d; $custom-dark: #000000;
JSON
{
"hex": "#7e2222",
"rgb": {
"r": 126,
"g": 34,
"b": 34
},
"hsl": {
"h": 0,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.39996,
"c": 0.12652,
"h": 24.9
},
"luminance": 0.05695
}Semantic roles & 50–950 ramp
primary
#7E2222
secondary
#4BB1B1
accent
#E1E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79