#7E1D2F#7E1D2F
#7E1D2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.131 H 15.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D2F |
|---|---|
| RGB | rgb(126, 29, 47) |
| HSL | hsl(349, 63%, 30%) |
| HSV | hsv(349, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 62.7%, 50.6%) |
| CIE-LAB | lab(28.17, 42.12, 14.11) |
| CIE-LCH | lch(28.17, 44.42, 18.52°) |
| OKLab | oklab(39.73% 0.1263 0.0345) |
| OKLCH | oklch(39.73% 0.131 15.3) |
| XYZ | xyz(9.5576, 5.5210, 3.2512) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.27
Bordeaux
#7B002C
ΔE00 3.74
Red Wine
#8C0034
ΔE00 4.12
Burgundy
#800020
ΔE00 4.14
Wine
#722F37
ΔE00 4.70
Cranberry
#9E003A
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D2F #1D7E6C
analogous
#7E1D5F #7E1D2F #7E3B1D
triadic
#7E1D2F #2F7E1D #1D2F7E
tetradic
#7E1D2F #5F7E1D #1D7E6C #3B1D7E
square
#7E1D2F #5F7E1D #1D7E6C #3B1D7E
split-complementary
#7E1D2F #1D7E3B #1D5F7E
monochromatic
#1B060A #4C121C #7E1D2F #B02842 #D3425D
Accessibility & contrast
On white
9.98
#7E1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D2F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D2F | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1d2f; /* rgb */ color: rgb(126, 29, 47); /* oklch */ color: oklch(39.7% 0.131 15.3);
Tailwind
colors: {
custom: {
50: '#a96267',
500: '#7e1d2f',
950: '#000000',
},
}SCSS
$custom: #7e1d2f; $custom-light: #a96267; $custom-dark: #000000;
JSON
{
"hex": "#7e1d2f",
"rgb": {
"r": 126,
"g": 29,
"b": 47
},
"hsl": {
"h": 348.866,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.39727,
"c": 0.13093,
"h": 15.3
},
"luminance": 0.0552
}Semantic roles & 50–950 ramp
primary
#7E1D2F
secondary
#45B19D
accent
#E6C742
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A