#7E1929#7E1929
#7E1929 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 17.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1929 |
|---|---|
| RGB | rgb(126, 25, 41) |
| HSL | hsl(350, 67%, 30%) |
| HSV | hsv(350, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 67.5%, 50.6%) |
| CIE-LAB | lab(27.55, 43.11, 17.30) |
| CIE-LCH | lch(27.55, 46.46, 21.87°) |
| OKLab | oklab(39.23% 0.1282 0.0413) |
| OKLCH | oklch(39.23% 0.135 17.8) |
| XYZ | xyz(9.3531, 5.2924, 2.6264) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.36
Burgundy
#800020
ΔE00 2.62
Bordeaux
#7B002C
ΔE00 4.56
Red Wine
#8C0034
ΔE00 5.12
Claret
#680018
ΔE00 5.46
Wine
#722F37
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1929 #197E6E
analogous
#7E195C #7E1929 #7E3C19
triadic
#7E1929 #297E19 #19297E
tetradic
#7E1929 #5C7E19 #197E6E #3C197E
square
#7E1929 #5C7E19 #197E6E #3C197E
split-complementary
#7E1929 #197E3C #195C7E
monochromatic
#1A0508 #4B0F18 #7E1929 #B1233A #D83A53
Accessibility & contrast
On white
10.20
#7E1929 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1929 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1929
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1929 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363429
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1929; /* rgb */ color: rgb(126, 25, 41); /* oklch */ color: oklch(39.2% 0.135 17.8);
Tailwind
colors: {
custom: {
50: '#aa6062',
500: '#7e1929',
950: '#000000',
},
}SCSS
$custom: #7e1929; $custom-light: #aa6062; $custom-dark: #000000;
JSON
{
"hex": "#7e1929",
"rgb": {
"r": 126,
"g": 25,
"b": 41
},
"hsl": {
"h": 350.495,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.39229,
"c": 0.13471,
"h": 17.8
},
"luminance": 0.05291
}Semantic roles & 50–950 ramp
primary
#7E1929
secondary
#41B2A0
accent
#EACF3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79