#7E1E28#7E1E28
#7E1E28 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 20.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E28 |
|---|---|
| RGB | rgb(126, 30, 40) |
| HSL | hsl(354, 62%, 31%) |
| HSV | hsv(354, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 68.3%, 50.6%) |
| CIE-LAB | lab(28.16, 41.29, 18.74) |
| CIE-LCH | lch(28.16, 45.34, 24.41°) |
| OKLab | oklab(39.68% 0.1222 0.0444) |
| OKLCH | oklch(39.68% 0.13 20) |
| XYZ | xyz(9.4525, 5.5188, 2.5746) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.06
Wine Red
#7B0323
ΔE00 3.41
Wine
#722F37
ΔE00 5.74
Claret
#680018
ΔE00 5.86
Bordeaux
#7B002C
ΔE00 5.94
Red Wine
#8C0034
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E28 #1E7E74
analogous
#7E1E58 #7E1E28 #7E441E
triadic
#7E1E28 #287E1E #1E287E
tetradic
#7E1E28 #587E1E #1E7E74 #441E7E
square
#7E1E28 #587E1E #1E7E74 #441E7E
split-complementary
#7E1E28 #1E7E44 #1E587E
monochromatic
#1B0609 #4D1218 #7E1E28 #AF2A38 #D24453
Accessibility & contrast
On white
9.98
#7E1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E28
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E28 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1e28; /* rgb */ color: rgb(126, 30, 40); /* oklch */ color: oklch(39.7% 0.130 20.0);
Tailwind
colors: {
custom: {
50: '#aa6261',
500: '#7e1e28',
950: '#000000',
},
}SCSS
$custom: #7e1e28; $custom-light: #aa6261; $custom-dark: #000000;
JSON
{
"hex": "#7e1e28",
"rgb": {
"r": 126,
"g": 30,
"b": 40
},
"hsl": {
"h": 353.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.39678,
"c": 0.12998,
"h": 20
},
"luminance": 0.05517
}Semantic roles & 50–950 ramp
primary
#7E1E28
secondary
#47B1A6
accent
#E5D443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79