#7E1A2B#7E1A2B
#7E1A2B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.134 H 16.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A2B |
|---|---|
| RGB | rgb(126, 26, 43) |
| HSL | hsl(350, 66%, 30%) |
| HSV | hsv(350, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.71, 42.91, 16.17) |
| CIE-LCH | lch(27.71, 45.85, 20.65°) |
| OKLab | oklab(39.36% 0.128 0.0389) |
| OKLCH | oklch(39.36% 0.134 16.9) |
| XYZ | xyz(9.4106, 5.3502, 2.8222) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.51
Burgundy
#800020
ΔE00 3.08
Bordeaux
#7B002C
ΔE00 4.14
Red Wine
#8C0034
ΔE00 4.67
Wine
#722F37
ΔE00 5.35
Claret
#680018
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A2B #1A7E6D
analogous
#7E1A5D #7E1A2B #7E3B1A
triadic
#7E1A2B #2B7E1A #1A2B7E
tetradic
#7E1A2B #5D7E1A #1A7E6D #3B1A7E
square
#7E1A2B #5D7E1A #1A7E6D #3B1A7E
split-complementary
#7E1A2B #1A7E3B #1A5D7E
monochromatic
#190509 #4B101A #7E1A2B #B1243C #D73C56
Accessibility & contrast
On white
10.15
#7E1A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A2B
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A2B | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37342B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a2b; /* rgb */ color: rgb(126, 26, 43); /* oklch */ color: oklch(39.4% 0.134 16.9);
Tailwind
colors: {
custom: {
50: '#aa6164',
500: '#7e1a2b',
950: '#000000',
},
}SCSS
$custom: #7e1a2b; $custom-light: #aa6164; $custom-dark: #000000;
JSON
{
"hex": "#7e1a2b",
"rgb": {
"r": 126,
"g": 26,
"b": 43
},
"hsl": {
"h": 349.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39359,
"c": 0.13378,
"h": 16.9
},
"luminance": 0.05349
}Semantic roles & 50–950 ramp
primary
#7E1A2B
secondary
#42B29F
accent
#E9CC3F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79