#7E172A#7E172A
#7E172A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 16.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E172A |
|---|---|
| RGB | rgb(126, 23, 42) |
| HSL | hsl(349, 69%, 29%) |
| HSV | hsv(349, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.34, 43.82, 16.37) |
| CIE-LCH | lch(27.34, 46.77, 20.48°) |
| OKLab | oklab(39.08% 0.1307 0.0393) |
| OKLCH | oklch(39.08% 0.136 16.7) |
| XYZ | xyz(9.3295, 5.2170, 2.7058) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.12
Burgundy
#800020
ΔE00 2.79
Bordeaux
#7B002C
ΔE00 3.88
Red Wine
#8C0034
ΔE00 4.52
Claret
#680018
ΔE00 5.47
Wine
#722F37
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E172A #177E6B
analogous
#7E175E #7E172A #7E3817
triadic
#7E172A #2A7E17 #172A7E
tetradic
#7E172A #5E7E17 #177E6B #38177E
square
#7E172A #5E7E17 #177E6B #38177E
split-complementary
#7E172A #177E38 #175E7E
monochromatic
#1A0509 #4A0E19 #7E172A #B2203B #DA3554
Accessibility & contrast
On white
10.28
#7E172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E172A
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E172A | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e172a; /* rgb */ color: rgb(126, 23, 42); /* oklch */ color: oklch(39.1% 0.136 16.7);
Tailwind
colors: {
custom: {
50: '#aa5f63',
500: '#7e172a',
950: '#000000',
},
}SCSS
$custom: #7e172a; $custom-light: #aa5f63; $custom-dark: #000000;
JSON
{
"hex": "#7e172a",
"rgb": {
"r": 126,
"g": 23,
"b": 42
},
"hsl": {
"h": 348.932,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39082,
"c": 0.13647,
"h": 16.7
},
"luminance": 0.05216
}Semantic roles & 50–950 ramp
primary
#7E172A
secondary
#3EB39D
accent
#ECCB3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979