#7E172B#7E172B
#7E172B is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 16.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E172B |
|---|---|
| RGB | rgb(126, 23, 43) |
| HSL | hsl(348, 69%, 29%) |
| HSV | hsv(348, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.36, 43.88, 15.72) |
| CIE-LCH | lch(27.36, 46.61, 19.72°) |
| OKLab | oklab(39.1% 0.1311 0.0379) |
| OKLCH | oklch(39.1% 0.136 16.1) |
| XYZ | xyz(9.3476, 5.2242, 2.8012) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.22
Burgundy
#800020
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 3.58
Red Wine
#8C0034
ΔE00 4.23
Wine
#722F37
ΔE00 5.57
Claret
#680018
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E172B #177E6A
analogous
#7E175F #7E172B #7E3717
triadic
#7E172B #2B7E17 #172B7E
tetradic
#7E172B #5F7E17 #177E6A #37177E
square
#7E172B #5F7E17 #177E6A #37177E
split-complementary
#7E172B #177E37 #175F7E
monochromatic
#1A0509 #4A0E19 #7E172B #B2203D #DA3555
Accessibility & contrast
On white
10.27
#7E172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E172B
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E172B | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e172b; /* rgb */ color: rgb(126, 23, 43); /* oklch */ color: oklch(39.1% 0.136 16.1);
Tailwind
colors: {
custom: {
50: '#aa5f64',
500: '#7e172b',
950: '#000000',
},
}SCSS
$custom: #7e172b; $custom-light: #aa5f64; $custom-dark: #000000;
JSON
{
"hex": "#7e172b",
"rgb": {
"r": 126,
"g": 23,
"b": 43
},
"hsl": {
"h": 348.35,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39103,
"c": 0.13648,
"h": 16.1
},
"luminance": 0.05223
}Semantic roles & 50–950 ramp
primary
#7E172B
secondary
#3EB39C
accent
#ECCA3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979