#7E172D#7E172D
#7E172D is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 14.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E172D |
|---|---|
| RGB | rgb(126, 23, 45) |
| HSL | hsl(347, 69%, 29%) |
| HSV | hsv(347, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 64.3%, 50.6%) |
| CIE-LAB | lab(27.41, 44.01, 14.44) |
| CIE-LCH | lch(27.41, 46.32, 18.16°) |
| OKLab | oklab(39.15% 0.132 0.0351) |
| OKLCH | oklch(39.15% 0.137 14.9) |
| XYZ | xyz(9.3852, 5.2393, 2.9992) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.59
Bordeaux
#7B002C
ΔE00 3.03
Burgundy
#800020
ΔE00 3.67
Red Wine
#8C0034
ΔE00 3.71
Wine
#722F37
ΔE00 5.41
Maroon (survey)
#650021
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E172D #177E68
analogous
#7E1761 #7E172D #7E3417
triadic
#7E172D #2D7E17 #172D7E
tetradic
#7E172D #617E17 #177E68 #34177E
square
#7E172D #617E17 #177E68 #34177E
split-complementary
#7E172D #177E34 #17617E
monochromatic
#1A0509 #4A0E1B #7E172D #B2203F #DA3558
Accessibility & contrast
On white
10.26
#7E172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E172D
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E172D | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e172d; /* rgb */ color: rgb(126, 23, 45); /* oklch */ color: oklch(39.1% 0.137 14.9);
Tailwind
colors: {
custom: {
50: '#aa5f65',
500: '#7e172d',
950: '#000000',
},
}SCSS
$custom: #7e172d; $custom-light: #aa5f65; $custom-dark: #000000;
JSON
{
"hex": "#7e172d",
"rgb": {
"r": 126,
"g": 23,
"b": 45
},
"hsl": {
"h": 347.184,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39147,
"c": 0.13656,
"h": 14.9
},
"luminance": 0.05238
}Semantic roles & 50–950 ramp
primary
#7E172D
secondary
#3EB39A
accent
#ECC63C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A