#7E1A18#7E1A18
#7E1A18 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.135 H 27.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A18 |
|---|---|
| RGB | rgb(126, 26, 24) |
| HSL | hsl(1, 68%, 29%) |
| HSV | hsv(1, 81%, 49%) |
| CMYK | cmyk(0%, 79.4%, 81%, 50.6%) |
| CIE-LAB | lab(27.41, 41.94, 28.06) |
| CIE-LCH | lch(27.41, 50.46, 33.78°) |
| OKLab | oklab(39.04% 0.1205 0.0614) |
| OKLCH | oklch(39.04% 0.135 27) |
| XYZ | xyz(9.1395, 5.2418, 1.3945) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.48
Blood
#770001
ΔE00 4.14
Maroon
#800000
ΔE00 4.36
Reddy Brown
#6E1005
ΔE00 4.53
Indian Red
#850E04
ΔE00 4.53
Dark Red
#840000
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A18 #187C7E
analogous
#7E1849 #7E1A18 #7E4D18
triadic
#7E1A18 #187E1A #1A187E
tetradic
#7E1A18 #497E18 #187C7E #4D187E
square
#7E1A18 #497E18 #187C7E #4D187E
split-complementary
#7E1A18 #187E4D #18497E
monochromatic
#1A0505 #4B0F0E #7E1A18 #B12522 #D93B37
Accessibility & contrast
On white
10.25
#7E1A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A18
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A18 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393317
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1a18; /* rgb */ color: rgb(126, 26, 24); /* oklch */ color: oklch(39.0% 0.135 27.0);
Tailwind
colors: {
custom: {
50: '#ab6055',
500: '#7e1a18',
950: '#000000',
},
}SCSS
$custom: #7e1a18; $custom-light: #ab6055; $custom-dark: #000000;
JSON
{
"hex": "#7e1a18",
"rgb": {
"r": 126,
"g": 26,
"b": 24
},
"hsl": {
"h": 1.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39043,
"c": 0.13529,
"h": 27
},
"luminance": 0.0524
}Semantic roles & 50–950 ramp
primary
#7E1A18
secondary
#3FB0B2
accent
#E7EB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978