#7E1A23#7E1A23
#7E1A23 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 21.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A23 |
|---|---|
| RGB | rgb(126, 26, 35) |
| HSL | hsl(355, 66%, 30%) |
| HSV | hsv(355, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 72.2%, 50.6%) |
| CIE-LAB | lab(27.57, 42.44, 21.28) |
| CIE-LCH | lch(27.57, 47.47, 26.63°) |
| OKLab | oklab(39.21% 0.1247 0.0493) |
| OKLCH | oklch(39.21% 0.134 21.6) |
| XYZ | xyz(9.2780, 5.2972, 2.1237) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.74
Wine Red
#7B0323
ΔE00 3.69
Claret
#680018
ΔE00 5.61
Crimson (survey)
#8C000F
ΔE00 6.21
Rosewood
#65000B
ΔE00 6.51
Bordeaux
#7B002C
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A23 #1A7E75
analogous
#7E1A55 #7E1A23 #7E431A
triadic
#7E1A23 #237E1A #1A237E
tetradic
#7E1A23 #557E1A #1A7E75 #431A7E
square
#7E1A23 #557E1A #1A7E75 #431A7E
split-complementary
#7E1A23 #1A7E43 #1A557E
monochromatic
#190507 #4B1015 #7E1A23 #B12431 #D73C4A
Accessibility & contrast
On white
10.20
#7E1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A23
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A23 | 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)
#383322
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a23; /* rgb */ color: rgb(126, 26, 35); /* oklch */ color: oklch(39.2% 0.134 21.6);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7e1a23',
950: '#000000',
},
}SCSS
$custom: #7e1a23; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7e1a23",
"rgb": {
"r": 126,
"g": 26,
"b": 35
},
"hsl": {
"h": 354.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39205,
"c": 0.13407,
"h": 21.6
},
"luminance": 0.05296
}Semantic roles & 50–950 ramp
primary
#7E1A23
secondary
#42B2A8
accent
#E9D93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79