#7E161A#7E161A
#7E161A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 25.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E161A |
|---|---|
| RGB | rgb(126, 22, 26) |
| HSL | hsl(358, 70%, 29%) |
| HSV | hsv(358, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 79.4%, 50.6%) |
| CIE-LAB | lab(26.98, 43.31, 26.36) |
| CIE-LCH | lch(26.98, 50.70, 31.32°) |
| OKLab | oklab(38.73% 0.1253 0.0583) |
| OKLCH | oklch(38.73% 0.138 25) |
| XYZ | xyz(9.0786, 5.0855, 1.4807) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.92
Burgundy
#800020
ΔE00 4.42
Blood
#770001
ΔE00 4.81
Maroon
#800000
ΔE00 5.28
Reddy Brown
#6E1005
ΔE00 5.30
Dark Red
#840000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E161A #167E7A
analogous
#7E164E #7E161A #7E4616
triadic
#7E161A #1A7E16 #161A7E
tetradic
#7E161A #4E7E16 #167E7A #46167E
square
#7E161A #4E7E16 #167E7A #46167E
split-complementary
#7E161A #167E46 #164E7E
monochromatic
#1A0505 #4A0D0F #7E161A #B21F25 #DB3339
Accessibility & contrast
On white
10.41
#7E161A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E161A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E161A
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E161A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E161A | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e161a; /* rgb */ color: rgb(126, 22, 26); /* oklch */ color: oklch(38.7% 0.138 25.0);
Tailwind
colors: {
custom: {
50: '#ab5f57',
500: '#7e161a',
950: '#000000',
},
}SCSS
$custom: #7e161a; $custom-light: #ab5f57; $custom-dark: #000000;
JSON
{
"hex": "#7e161a",
"rgb": {
"r": 126,
"g": 22,
"b": 26
},
"hsl": {
"h": 357.692,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38727,
"c": 0.13823,
"h": 25
},
"luminance": 0.05084
}Semantic roles & 50–950 ramp
primary
#7E161A
secondary
#3DB3AE
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978