#7E172E#7E172E
#7E172E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.2% C 0.137 H 14.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7E172E |
|---|---|
| RGB | rgb(126, 23, 46) |
| HSL | hsl(347, 69%, 29%) |
| HSV | hsv(347, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 63.5%, 50.6%) |
| CIE-LAB | lab(27.43, 44.08, 13.79) |
| CIE-LCH | lch(27.43, 46.18, 17.38°) |
| OKLab | oklab(39.17% 0.1324 0.0337) |
| OKLCH | oklch(39.17% 0.137 14.3) |
| XYZ | xyz(9.4047, 5.2471, 3.1018) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.79
Wine Red
#7B0323
ΔE00 2.83
Red Wine
#8C0034
ΔE00 3.48
Burgundy
#800020
ΔE00 4.00
Wine
#722F37
ΔE00 5.37
Maroon (survey)
#650021
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E172E #177E67
analogous
#7E1762 #7E172E #7E3417
triadic
#7E172E #2E7E17 #172E7E
tetradic
#7E172E #627E17 #177E67 #34177E
square
#7E172E #627E17 #177E67 #34177E
split-complementary
#7E172E #177E34 #17627E
monochromatic
#1A0509 #4A0E1B #7E172E #B22041 #DA355A
Accessibility & contrast
On white
10.25
#7E172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E172E
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E172E | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332E
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e172e; /* rgb */ color: rgb(126, 23, 46); /* oklch */ color: oklch(39.2% 0.137 14.3);
Tailwind
colors: {
custom: {
50: '#aa5f66',
500: '#7e172e',
950: '#000000',
},
}SCSS
$custom: #7e172e; $custom-light: #aa5f66; $custom-dark: #000000;
JSON
{
"hex": "#7e172e",
"rgb": {
"r": 126,
"g": 23,
"b": 46
},
"hsl": {
"h": 346.602,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3917,
"c": 0.13661,
"h": 14.3
},
"luminance": 0.05246
}Semantic roles & 50–950 ramp
primary
#7E172E
secondary
#3EB399
accent
#ECC53C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A