#7E1A2A#7E1A2A
#7E1A2A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 17.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A2A |
|---|---|
| RGB | rgb(126, 26, 42) |
| HSL | hsl(350, 66%, 30%) |
| HSV | hsv(350, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.69, 42.84, 16.81) |
| CIE-LCH | lch(27.69, 46.02, 21.43°) |
| OKLab | oklab(39.34% 0.1276 0.0403) |
| OKLCH | oklch(39.34% 0.134 17.5) |
| XYZ | xyz(9.3925, 5.3430, 2.7268) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.48
Burgundy
#800020
ΔE00 2.86
Bordeaux
#7B002C
ΔE00 4.45
Red Wine
#8C0034
ΔE00 4.97
Wine
#722F37
ΔE00 5.49
Claret
#680018
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A2A #1A7E6E
analogous
#7E1A5C #7E1A2A #7E3C1A
triadic
#7E1A2A #2A7E1A #1A2A7E
tetradic
#7E1A2A #5C7E1A #1A7E6E #3C1A7E
square
#7E1A2A #5C7E1A #1A7E6E #3C1A7E
split-complementary
#7E1A2A #1A7E3C #1A5C7E
monochromatic
#190508 #4B1019 #7E1A2A #B1243B #D73C55
Accessibility & contrast
On white
10.15
#7E1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A2A
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A2A | 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)
#37342A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a2a; /* rgb */ color: rgb(126, 26, 42); /* oklch */ color: oklch(39.3% 0.134 17.5);
Tailwind
colors: {
custom: {
50: '#aa6163',
500: '#7e1a2a',
950: '#000000',
},
}SCSS
$custom: #7e1a2a; $custom-light: #aa6163; $custom-dark: #000000;
JSON
{
"hex": "#7e1a2a",
"rgb": {
"r": 126,
"g": 26,
"b": 42
},
"hsl": {
"h": 350.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39338,
"c": 0.13378,
"h": 17.5
},
"luminance": 0.05342
}Semantic roles & 50–950 ramp
primary
#7E1A2A
secondary
#42B2A0
accent
#E9CE3F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79