#7E1F2D#7E1F2D
#7E1F2D is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.129 H 17.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F2D |
|---|---|
| RGB | rgb(126, 31, 45) |
| HSL | hsl(351, 61%, 31%) |
| HSV | hsv(351, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 64.3%, 50.6%) |
| CIE-LAB | lab(28.40, 41.23, 15.74) |
| CIE-LCH | lch(28.40, 44.13, 20.89°) |
| OKLab | oklab(39.88% 0.1231 0.0381) |
| OKLCH | oklch(39.88% 0.129 17.2) |
| XYZ | xyz(9.5688, 5.6064, 3.0604) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.26
Burgundy
#800020
ΔE00 3.71
Bordeaux
#7B002C
ΔE00 4.67
Wine
#722F37
ΔE00 4.75
Red Wine
#8C0034
ΔE00 5.00
Claret
#680018
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F2D #1F7E70
analogous
#7E1F5C #7E1F2D #7E401F
triadic
#7E1F2D #2D7E1F #1F2D7E
tetradic
#7E1F2D #5C7E1F #1F7E70 #401F7E
square
#7E1F2D #5C7E1F #1F7E70 #401F7E
split-complementary
#7E1F2D #1F7E40 #1F5C7E
monochromatic
#1C070A #4D131B #7E1F2D #AF2B3F #D1465A
Accessibility & contrast
On white
9.90
#7E1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F2D
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F2D | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8B0125
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f2d; /* rgb */ color: rgb(126, 31, 45); /* oklch */ color: oklch(39.9% 0.129 17.2);
Tailwind
colors: {
custom: {
50: '#aa6365',
500: '#7e1f2d',
950: '#000000',
},
}SCSS
$custom: #7e1f2d; $custom-light: #aa6365; $custom-dark: #000000;
JSON
{
"hex": "#7e1f2d",
"rgb": {
"r": 126,
"g": 31,
"b": 45
},
"hsl": {
"h": 351.158,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39882,
"c": 0.12882,
"h": 17.2
},
"luminance": 0.05605
}Semantic roles & 50–950 ramp
primary
#7E1F2D
secondary
#48B1A2
accent
#E4CC44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A