#7E1D2A#7E1D2A
#7E1D2A is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.131 H 18.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D2A |
|---|---|
| RGB | rgb(126, 29, 42) |
| HSL | hsl(352, 63%, 30%) |
| HSV | hsv(352, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 66.7%, 50.6%) |
| CIE-LAB | lab(28.07, 41.79, 17.30) |
| CIE-LCH | lch(28.07, 45.22, 22.49°) |
| OKLab | oklab(39.62% 0.1242 0.0414) |
| OKLCH | oklch(39.62% 0.131 18.4) |
| XYZ | xyz(9.4625, 5.4829, 2.7501) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.97
Burgundy
#800020
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 5.08
Wine
#722F37
ΔE00 5.35
Red Wine
#8C0034
ΔE00 5.50
Claret
#680018
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D2A #1D7E71
analogous
#7E1D5A #7E1D2A #7E401D
triadic
#7E1D2A #2A7E1D #1D2A7E
tetradic
#7E1D2A #5A7E1D #1D7E71 #401D7E
square
#7E1D2A #5A7E1D #1D7E71 #401D7E
split-complementary
#7E1D2A #1D7E40 #1D5A7E
monochromatic
#1B0609 #4C1219 #7E1D2A #B0283B #D34255
Accessibility & contrast
On white
10.02
#7E1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1D2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D2A
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D2A | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1d2a; /* rgb */ color: rgb(126, 29, 42); /* oklch */ color: oklch(39.6% 0.131 18.4);
Tailwind
colors: {
custom: {
50: '#aa6263',
500: '#7e1d2a',
950: '#000000',
},
}SCSS
$custom: #7e1d2a; $custom-light: #aa6263; $custom-dark: #000000;
JSON
{
"hex": "#7e1d2a",
"rgb": {
"r": 126,
"g": 29,
"b": 42
},
"hsl": {
"h": 351.959,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.39619,
"c": 0.1309,
"h": 18.4
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#7E1D2A
secondary
#45B1A3
accent
#E6D042
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79