#7E1928#7E1928
#7E1928 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 18.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1928 |
|---|---|
| RGB | rgb(126, 25, 40) |
| HSL | hsl(351, 67%, 30%) |
| HSV | hsv(351, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 68.3%, 50.6%) |
| CIE-LAB | lab(27.53, 43.05, 17.94) |
| CIE-LCH | lch(27.53, 46.64, 22.62°) |
| OKLab | oklab(39.21% 0.1278 0.0426) |
| OKLCH | oklch(39.21% 0.135 18.4) |
| XYZ | xyz(9.3358, 5.2855, 2.5357) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.43
Burgundy
#800020
ΔE00 2.46
Bordeaux
#7B002C
ΔE00 4.89
Claret
#680018
ΔE00 5.40
Red Wine
#8C0034
ΔE00 5.44
Wine
#722F37
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1928 #197E6F
analogous
#7E195B #7E1928 #7E3D19
triadic
#7E1928 #287E19 #19287E
tetradic
#7E1928 #5B7E19 #197E6F #3D197E
square
#7E1928 #5B7E19 #197E6F #3D197E
split-complementary
#7E1928 #197E3D #195B7E
monochromatic
#1A0508 #4B0F18 #7E1928 #B12338 #D83A51
Accessibility & contrast
On white
10.21
#7E1928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1928
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1928 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1928; /* rgb */ color: rgb(126, 25, 40); /* oklch */ color: oklch(39.2% 0.135 18.4);
Tailwind
colors: {
custom: {
50: '#aa6061',
500: '#7e1928',
950: '#000000',
},
}SCSS
$custom: #7e1928; $custom-light: #aa6061; $custom-dark: #000000;
JSON
{
"hex": "#7e1928",
"rgb": {
"r": 126,
"g": 25,
"b": 40
},
"hsl": {
"h": 351.089,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.39209,
"c": 0.13472,
"h": 18.4
},
"luminance": 0.05284
}Semantic roles & 50–950 ramp
primary
#7E1928
secondary
#41B2A1
accent
#EAD03E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79