#7E152A#7E152A
#7E152A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 16.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E152A |
|---|---|
| RGB | rgb(126, 21, 42) |
| HSL | hsl(348, 71%, 29%) |
| HSV | hsv(348, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.13, 44.42, 16.09) |
| CIE-LCH | lch(27.13, 47.24, 19.92°) |
| OKLab | oklab(38.92% 0.1326 0.0386) |
| OKLCH | oklch(38.92% 0.138 16.2) |
| XYZ | xyz(9.2913, 5.1405, 2.6930) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.95
Burgundy
#800020
ΔE00 2.81
Bordeaux
#7B002C
ΔE00 3.54
Red Wine
#8C0034
ΔE00 4.27
Claret
#680018
ΔE00 5.42
Wine
#722F37
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E152A #157E69
analogous
#7E155F #7E152A #7E3515
triadic
#7E152A #2A7E15 #152A7E
tetradic
#7E152A #5F7E15 #157E69 #35157E
square
#7E152A #5F7E15 #157E69 #35157E
split-complementary
#7E152A #157E35 #155F7E
monochromatic
#1A0409 #4A0C19 #7E152A #B21E3B #DD3153
Accessibility & contrast
On white
10.36
#7E152A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E152A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E152A
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E152A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E152A | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e152a; /* rgb */ color: rgb(126, 21, 42); /* oklch */ color: oklch(38.9% 0.138 16.2);
Tailwind
colors: {
custom: {
50: '#aa5f63',
500: '#7e152a',
950: '#000000',
},
}SCSS
$custom: #7e152a; $custom-light: #aa5f63; $custom-dark: #000000;
JSON
{
"hex": "#7e152a",
"rgb": {
"r": 126,
"g": 21,
"b": 42
},
"hsl": {
"h": 348,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38925,
"c": 0.13815,
"h": 16.2
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#7E152A
secondary
#3CB39B
accent
#EECA3A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979