#7E1F2B#7E1F2B
#7E1F2B is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.129 H 18.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F2B |
|---|---|
| RGB | rgb(126, 31, 43) |
| HSL | hsl(352, 61%, 31%) |
| HSV | hsv(352, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 65.9%, 50.6%) |
| CIE-LAB | lab(28.36, 41.10, 17.01) |
| CIE-LCH | lch(28.36, 44.48, 22.48°) |
| OKLab | oklab(39.84% 0.1222 0.0408) |
| OKLCH | oklch(39.84% 0.129 18.5) |
| XYZ | xyz(9.5312, 5.5914, 2.8624) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.28
Burgundy
#800020
ΔE00 3.39
Wine
#722F37
ΔE00 5.09
Bordeaux
#7B002C
ΔE00 5.23
Red Wine
#8C0034
ΔE00 5.58
Claret
#680018
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F2B #1F7E72
analogous
#7E1F5A #7E1F2B #7E421F
triadic
#7E1F2B #2B7E1F #1F2B7E
tetradic
#7E1F2B #5A7E1F #1F7E72 #421F7E
square
#7E1F2B #5A7E1F #1F7E72 #421F7E
split-complementary
#7E1F2B #1F7E42 #1F5A7E
monochromatic
#1C0709 #4D131A #7E1F2B #AF2B3C #D14658
Accessibility & contrast
On white
9.92
#7E1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F2B
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F2B | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f2b; /* rgb */ color: rgb(126, 31, 43); /* oklch */ color: oklch(39.8% 0.129 18.5);
Tailwind
colors: {
custom: {
50: '#aa6364',
500: '#7e1f2b',
950: '#000000',
},
}SCSS
$custom: #7e1f2b; $custom-light: #aa6364; $custom-dark: #000000;
JSON
{
"hex": "#7e1f2b",
"rgb": {
"r": 126,
"g": 31,
"b": 43
},
"hsl": {
"h": 352.421,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.3984,
"c": 0.12885,
"h": 18.5
},
"luminance": 0.0559
}Semantic roles & 50–950 ramp
primary
#7E1F2B
secondary
#48B1A4
accent
#E4CF44
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79