#7E162A#7E162A
#7E162A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 16.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E162A |
|---|---|
| RGB | rgb(126, 22, 42) |
| HSL | hsl(348, 70%, 29%) |
| HSV | hsv(348, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.24, 44.12, 16.23) |
| CIE-LCH | lch(27.24, 47.01, 20.19°) |
| OKLab | oklab(39% 0.1317 0.0389) |
| OKLCH | oklch(39% 0.137 16.5) |
| XYZ | xyz(9.3100, 5.1780, 2.6993) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.03
Burgundy
#800020
ΔE00 2.79
Bordeaux
#7B002C
ΔE00 3.70
Red Wine
#8C0034
ΔE00 4.39
Claret
#680018
ΔE00 5.44
Wine
#722F37
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E162A #167E6A
analogous
#7E165E #7E162A #7E3616
triadic
#7E162A #2A7E16 #162A7E
tetradic
#7E162A #5E7E16 #167E6A #36167E
square
#7E162A #5E7E16 #167E6A #36167E
split-complementary
#7E162A #167E36 #165E7E
monochromatic
#1A0509 #4A0D19 #7E162A #B21F3B #DB3353
Accessibility & contrast
On white
10.32
#7E162A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E162A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E162A
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E162A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E162A | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35322A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e162a; /* rgb */ color: rgb(126, 22, 42); /* oklch */ color: oklch(39.0% 0.137 16.5);
Tailwind
colors: {
custom: {
50: '#aa5f63',
500: '#7e162a',
950: '#000000',
},
}SCSS
$custom: #7e162a; $custom-light: #aa5f63; $custom-dark: #000000;
JSON
{
"hex": "#7e162a",
"rgb": {
"r": 126,
"g": 22,
"b": 42
},
"hsl": {
"h": 348.462,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.39002,
"c": 0.13733,
"h": 16.5
},
"luminance": 0.05177
}Semantic roles & 50–950 ramp
primary
#7E162A
secondary
#3DB39C
accent
#EDCB3B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979