#7E1E2F#7E1E2F
#7E1E2F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.130 H 15.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E2F |
|---|---|
| RGB | rgb(126, 30, 47) |
| HSL | hsl(349, 62%, 31%) |
| HSV | hsv(349, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 62.7%, 50.6%) |
| CIE-LAB | lab(28.30, 41.75, 14.28) |
| CIE-LCH | lch(28.30, 44.13, 18.89°) |
| OKLab | oklab(39.83% 0.1251 0.0349) |
| OKLCH | oklch(39.83% 0.13 15.6) |
| XYZ | xyz(9.5825, 5.5708, 3.2595) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.34
Bordeaux
#7B002C
ΔE00 3.95
Burgundy
#800020
ΔE00 4.14
Red Wine
#8C0034
ΔE00 4.29
Wine
#722F37
ΔE00 4.60
Cranberry
#9E003A
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E2F #1E7E6D
analogous
#7E1E5F #7E1E2F #7E3D1E
triadic
#7E1E2F #2F7E1E #1E2F7E
tetradic
#7E1E2F #5F7E1E #1E7E6D #3D1E7E
square
#7E1E2F #5F7E1E #1E7E6D #3D1E7E
split-complementary
#7E1E2F #1E7E3D #1E5F7E
monochromatic
#1B060A #4D121D #7E1E2F #AF2A41 #D2445D
Accessibility & contrast
On white
9.93
#7E1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E2F
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E2F | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1e2f; /* rgb */ color: rgb(126, 30, 47); /* oklch */ color: oklch(39.8% 0.130 15.6);
Tailwind
colors: {
custom: {
50: '#a96267',
500: '#7e1e2f',
950: '#000000',
},
}SCSS
$custom: #7e1e2f; $custom-light: #a96267; $custom-dark: #000000;
JSON
{
"hex": "#7e1e2f",
"rgb": {
"r": 126,
"g": 30,
"b": 47
},
"hsl": {
"h": 349.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.39825,
"c": 0.12989,
"h": 15.6
},
"luminance": 0.05569
}Semantic roles & 50–950 ramp
primary
#7E1E2F
secondary
#47B19E
accent
#E5C843
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A