#7E2118#7E2118
#7E2118 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.129 H 29.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2118 |
|---|---|
| RGB | rgb(126, 33, 24) |
| HSL | hsl(5, 68%, 29%) |
| HSV | hsv(5, 81%, 49%) |
| CMYK | cmyk(0%, 73.8%, 81%, 50.6%) |
| CIE-LAB | lab(28.36, 39.33, 29.04) |
| CIE-LCH | lch(28.36, 48.89, 36.44°) |
| OKLab | oklab(39.75% 0.1123 0.0636) |
| OKLCH | oklch(39.75% 0.129 29.5) |
| XYZ | xyz(9.3140, 5.5907, 1.4527) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.94
Crimson (survey)
#8C000F
ΔE00 4.05
Maroon
#800000
ΔE00 4.30
Dark Red
#840000
ΔE00 4.42
Reddy Brown
#6E1005
ΔE00 4.45
Blood
#770001
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2118 #18757E
analogous
#7E1842 #7E2118 #7E5418
triadic
#7E2118 #187E21 #21187E
tetradic
#7E2118 #427E18 #18757E #54187E
square
#7E2118 #427E18 #18757E #54187E
split-complementary
#7E2118 #187E54 #18427E
monochromatic
#1A0705 #4B140E #7E2118 #B12E22 #D94637
Accessibility & contrast
On white
9.92
#7E2118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E2118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2118
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2118 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3616
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2118; /* rgb */ color: rgb(126, 33, 24); /* oklch */ color: oklch(39.7% 0.129 29.5);
Tailwind
colors: {
custom: {
50: '#ab6356',
500: '#7e2118',
950: '#000000',
},
}SCSS
$custom: #7e2118; $custom-light: #ab6356; $custom-dark: #000000;
JSON
{
"hex": "#7e2118",
"rgb": {
"r": 126,
"g": 33,
"b": 24
},
"hsl": {
"h": 5.294,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39746,
"c": 0.12907,
"h": 29.5
},
"luminance": 0.05589
}Semantic roles & 50–950 ramp
primary
#7E2118
secondary
#3FA8B2
accent
#DCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78