#7E1927#7E1927
#7E1927 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 19.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1927 |
|---|---|
| RGB | rgb(126, 25, 39) |
| HSL | hsl(352, 67%, 30%) |
| HSV | hsv(352, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 69%, 50.6%) |
| CIE-LAB | lab(27.51, 43.00, 18.58) |
| CIE-LCH | lch(27.51, 46.84, 23.37°) |
| OKLab | oklab(39.19% 0.1274 0.0439) |
| OKLCH | oklch(39.19% 0.135 19) |
| XYZ | xyz(9.3191, 5.2788, 2.4473) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.35
Wine Red
#7B0323
ΔE00 2.57
Bordeaux
#7B002C
ΔE00 5.22
Claret
#680018
ΔE00 5.36
Red Wine
#8C0034
ΔE00 5.77
Wine
#722F37
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1927 #197E70
analogous
#7E195A #7E1927 #7E3E19
triadic
#7E1927 #277E19 #19277E
tetradic
#7E1927 #5A7E19 #197E70 #3E197E
square
#7E1927 #5A7E19 #197E70 #3E197E
split-complementary
#7E1927 #197E3E #195A7E
monochromatic
#1A0508 #4B0F17 #7E1927 #B12337 #D83A50
Accessibility & contrast
On white
10.22
#7E1927 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1927 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1927
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1927 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1927 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373327
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1927; /* rgb */ color: rgb(126, 25, 39); /* oklch */ color: oklch(39.2% 0.135 19.0);
Tailwind
colors: {
custom: {
50: '#aa6060',
500: '#7e1927',
950: '#000000',
},
}SCSS
$custom: #7e1927; $custom-light: #aa6060; $custom-dark: #000000;
JSON
{
"hex": "#7e1927",
"rgb": {
"r": 126,
"g": 25,
"b": 39
},
"hsl": {
"h": 351.683,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.3919,
"c": 0.13475,
"h": 19
},
"luminance": 0.05277
}Semantic roles & 50–950 ramp
primary
#7E1927
secondary
#41B2A2
accent
#EAD23E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979