#7E1F2E#7E1F2E
#7E1F2E is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.129 H 16.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F2E |
|---|---|
| RGB | rgb(126, 31, 46) |
| HSL | hsl(351, 61%, 31%) |
| HSV | hsv(351, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 63.5%, 50.6%) |
| CIE-LAB | lab(28.42, 41.30, 15.10) |
| CIE-LCH | lch(28.42, 43.98, 20.08°) |
| OKLab | oklab(39.9% 0.1235 0.0367) |
| OKLCH | oklch(39.9% 0.129 16.6) |
| XYZ | xyz(9.5883, 5.6142, 3.1630) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.33
Burgundy
#800020
ΔE00 3.92
Bordeaux
#7B002C
ΔE00 4.41
Wine
#722F37
ΔE00 4.62
Red Wine
#8C0034
ΔE00 4.73
Claret
#680018
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F2E #1F7E6F
analogous
#7E1F5D #7E1F2E #7E3F1F
triadic
#7E1F2E #2E7E1F #1F2E7E
tetradic
#7E1F2E #5D7E1F #1F7E6F #3F1F7E
square
#7E1F2E #5D7E1F #1F7E6F #3F1F7E
split-complementary
#7E1F2E #1F7E3F #1F5D7E
monochromatic
#1C070A #4D131C #7E1F2E #AF2B40 #D1465C
Accessibility & contrast
On white
9.89
#7E1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F2E
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F2E | 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)
#39362E
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#8A0125
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f2e; /* rgb */ color: rgb(126, 31, 46); /* oklch */ color: oklch(39.9% 0.129 16.6);
Tailwind
colors: {
custom: {
50: '#a96366',
500: '#7e1f2e',
950: '#000000',
},
}SCSS
$custom: #7e1f2e; $custom-light: #a96366; $custom-dark: #000000;
JSON
{
"hex": "#7e1f2e",
"rgb": {
"r": 126,
"g": 31,
"b": 46
},
"hsl": {
"h": 350.526,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39904,
"c": 0.12883,
"h": 16.6
},
"luminance": 0.05613
}Semantic roles & 50–950 ramp
primary
#7E1F2E
secondary
#48B1A0
accent
#E4CA44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A