#7E1F33#7E1F33
#7E1F33 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.129 H 13.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F33 |
|---|---|
| RGB | rgb(126, 31, 51) |
| HSL | hsl(347, 61%, 31%) |
| HSV | hsv(347, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 59.5%, 50.6%) |
| CIE-LAB | lab(28.53, 41.67, 11.92) |
| CIE-LCH | lch(28.53, 43.34, 15.96°) |
| OKLab | oklab(40.02% 0.1256 0.0296) |
| OKLCH | oklch(40.02% 0.129 13.3) |
| XYZ | xyz(9.6926, 5.6560, 3.7127) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.53
Red Wine
#8C0034
ΔE00 3.74
Wine Red
#7B0323
ΔE00 4.21
Wine
#722F37
ΔE00 4.37
Burgundy
#800020
ΔE00 5.29
Cranberry
#9E003A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F33 #1F7E6A
analogous
#7E1F62 #7E1F33 #7E3A1F
triadic
#7E1F33 #337E1F #1F337E
tetradic
#7E1F33 #627E1F #1F7E6A #3A1F7E
square
#7E1F33 #627E1F #1F7E6A #3A1F7E
split-complementary
#7E1F33 #1F7E3A #1F627E
monochromatic
#1C070B #4D131F #7E1F33 #AF2B47 #D14663
Accessibility & contrast
On white
9.85
#7E1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E1F33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F33
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F33 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#8A0427
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f33; /* rgb */ color: rgb(126, 31, 51); /* oklch */ color: oklch(40.0% 0.129 13.3);
Tailwind
colors: {
custom: {
50: '#a9636a',
500: '#7e1f33',
950: '#000000',
},
}SCSS
$custom: #7e1f33; $custom-light: #a9636a; $custom-dark: #000000;
JSON
{
"hex": "#7e1f33",
"rgb": {
"r": 126,
"g": 31,
"b": 51
},
"hsl": {
"h": 347.368,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40021,
"c": 0.12905,
"h": 13.3
},
"luminance": 0.05655
}Semantic roles & 50–950 ramp
primary
#7E1F33
secondary
#48B19B
accent
#E4C244
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A