#7E1F2C#7E1F2C
#7E1F2C is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.129 H 17.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F2C |
|---|---|
| RGB | rgb(126, 31, 44) |
| HSL | hsl(352, 61%, 31%) |
| HSV | hsv(352, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 65.1%, 50.6%) |
| CIE-LAB | lab(28.38, 41.17, 16.37) |
| CIE-LCH | lch(28.38, 44.30, 21.69°) |
| OKLab | oklab(39.86% 0.1226 0.0395) |
| OKLCH | oklch(39.86% 0.129 17.8) |
| XYZ | xyz(9.5498, 5.5988, 2.9602) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.25
Burgundy
#800020
ΔE00 3.53
Wine
#722F37
ΔE00 4.91
Bordeaux
#7B002C
ΔE00 4.94
Red Wine
#8C0034
ΔE00 5.28
Claret
#680018
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F2C #1F7E71
analogous
#7E1F5B #7E1F2C #7E411F
triadic
#7E1F2C #2C7E1F #1F2C7E
tetradic
#7E1F2C #5B7E1F #1F7E71 #411F7E
square
#7E1F2C #5B7E1F #1F7E71 #411F7E
split-complementary
#7E1F2C #1F7E41 #1F5B7E
monochromatic
#1C070A #4D131B #7E1F2C #AF2B3D #D14659
Accessibility & contrast
On white
9.91
#7E1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F2C
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F2C | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f2c; /* rgb */ color: rgb(126, 31, 44); /* oklch */ color: oklch(39.9% 0.129 17.8);
Tailwind
colors: {
custom: {
50: '#aa6364',
500: '#7e1f2c',
950: '#000000',
},
}SCSS
$custom: #7e1f2c; $custom-light: #aa6364; $custom-dark: #000000;
JSON
{
"hex": "#7e1f2c",
"rgb": {
"r": 126,
"g": 31,
"b": 44
},
"hsl": {
"h": 351.789,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.3986,
"c": 0.12883,
"h": 17.8
},
"luminance": 0.05597
}Semantic roles & 50–950 ramp
primary
#7E1F2C
secondary
#48B1A3
accent
#E4CE44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A