#7E1F2F#7E1F2F
#7E1F2F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.129 H 15.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F2F |
|---|---|
| RGB | rgb(126, 31, 47) |
| HSL | hsl(350, 61%, 31%) |
| HSV | hsv(350, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 62.7%, 50.6%) |
| CIE-LAB | lab(28.44, 41.37, 14.46) |
| CIE-LCH | lch(28.44, 43.83, 19.27°) |
| OKLab | oklab(39.93% 0.1239 0.0353) |
| OKLCH | oklch(39.93% 0.129 15.9) |
| XYZ | xyz(9.6082, 5.6222, 3.2680) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.43
Burgundy
#800020
ΔE00 4.15
Bordeaux
#7B002C
ΔE00 4.18
Red Wine
#8C0034
ΔE00 4.48
Wine
#722F37
ΔE00 4.51
Claret
#680018
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F2F #1F7E6E
analogous
#7E1F5E #7E1F2F #7E3E1F
triadic
#7E1F2F #2F7E1F #1F2F7E
tetradic
#7E1F2F #5E7E1F #1F7E6E #3E1F7E
square
#7E1F2F #5E7E1F #1F7E6E #3E1F7E
split-complementary
#7E1F2F #1F7E3E #1F5E7E
monochromatic
#1C070A #4D131D #7E1F2F #AF2B41 #D1465D
Accessibility & contrast
On white
9.89
#7E1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F2F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F2F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8A0226
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f2f; /* rgb */ color: rgb(126, 31, 47); /* oklch */ color: oklch(39.9% 0.129 15.9);
Tailwind
colors: {
custom: {
50: '#a96367',
500: '#7e1f2f',
950: '#000000',
},
}SCSS
$custom: #7e1f2f; $custom-light: #a96367; $custom-dark: #000000;
JSON
{
"hex": "#7e1f2f",
"rgb": {
"r": 126,
"g": 31,
"b": 47
},
"hsl": {
"h": 349.895,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39926,
"c": 0.12884,
"h": 15.9
},
"luminance": 0.05621
}Semantic roles & 50–950 ramp
primary
#7E1F2F
secondary
#48B19F
accent
#E4C944
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A