#7E162E#7E162E
#7E162E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 14.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E162E |
|---|---|
| RGB | rgb(126, 22, 46) |
| HSL | hsl(346, 70%, 29%) |
| HSV | hsv(346, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 63.5%, 50.6%) |
| CIE-LAB | lab(27.32, 44.38, 13.65) |
| CIE-LCH | lch(27.32, 46.43, 17.10°) |
| OKLab | oklab(39.09% 0.1334 0.0334) |
| OKLCH | oklch(39.09% 0.137 14) |
| XYZ | xyz(9.3852, 5.2081, 3.0953) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.62
Wine Red
#7B0323
ΔE00 2.83
Red Wine
#8C0034
ΔE00 3.37
Burgundy
#800020
ΔE00 4.05
Wine
#722F37
ΔE00 5.47
Maroon (survey)
#650021
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E162E #167E66
analogous
#7E1662 #7E162E #7E3216
triadic
#7E162E #2E7E16 #162E7E
tetradic
#7E162E #627E16 #167E66 #32167E
square
#7E162E #627E16 #167E66 #32167E
split-complementary
#7E162E #167E32 #16627E
monochromatic
#1A050A #4A0D1B #7E162E #B21F41 #DB335A
Accessibility & contrast
On white
10.29
#7E162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E162E
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E162E | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e162e; /* rgb */ color: rgb(126, 22, 46); /* oklch */ color: oklch(39.1% 0.137 14.0);
Tailwind
colors: {
custom: {
50: '#aa5f66',
500: '#7e162e',
950: '#000000',
},
}SCSS
$custom: #7e162e; $custom-light: #aa5f66; $custom-dark: #000000;
JSON
{
"hex": "#7e162e",
"rgb": {
"r": 126,
"g": 22,
"b": 46
},
"hsl": {
"h": 346.154,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.39091,
"c": 0.13748,
"h": 14
},
"luminance": 0.05207
}Semantic roles & 50–950 ramp
primary
#7E162E
secondary
#3DB398
accent
#EDC43B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A