#7E1E22#7E1E22
#7E1E22 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 23.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E22 |
|---|---|
| RGB | rgb(126, 30, 34) |
| HSL | hsl(358, 62%, 31%) |
| HSV | hsv(358, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 73%, 50.6%) |
| CIE-LAB | lab(28.06, 40.95, 22.52) |
| CIE-LCH | lch(28.06, 46.74, 28.81°) |
| OKLab | oklab(39.57% 0.1197 0.0519) |
| OKLCH | oklch(39.57% 0.13 23.4) |
| XYZ | xyz(9.3582, 5.4811, 2.0783) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.83
Wine Red
#7B0323
ΔE00 4.88
Crimson (survey)
#8C000F
ΔE00 5.55
Claret
#680018
ΔE00 6.32
Rosewood
#65000B
ΔE00 6.54
Blood
#770001
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E22 #1E7E7A
analogous
#7E1E52 #7E1E22 #7E4A1E
triadic
#7E1E22 #227E1E #1E227E
tetradic
#7E1E22 #527E1E #1E7E7A #4A1E7E
square
#7E1E22 #527E1E #1E7E7A #4A1E7E
split-complementary
#7E1E22 #1E7E4A #1E527E
monochromatic
#1B0607 #4D1215 #7E1E22 #AF2A2F #D2444A
Accessibility & contrast
On white
10.02
#7E1E22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1E22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E22
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E22 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1e22; /* rgb */ color: rgb(126, 30, 34); /* oklch */ color: oklch(39.6% 0.130 23.4);
Tailwind
colors: {
custom: {
50: '#aa625d',
500: '#7e1e22',
950: '#000000',
},
}SCSS
$custom: #7e1e22; $custom-light: #aa625d; $custom-dark: #000000;
JSON
{
"hex": "#7e1e22",
"rgb": {
"r": 126,
"g": 30,
"b": 34
},
"hsl": {
"h": 357.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.39571,
"c": 0.13046,
"h": 23.4
},
"luminance": 0.0548
}Semantic roles & 50–950 ramp
primary
#7E1E22
secondary
#47B1AD
accent
#E5DE43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79