#7E1618#7E1618
#7E1618 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 25.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1618 |
|---|---|
| RGB | rgb(126, 22, 24) |
| HSL | hsl(359, 70%, 29%) |
| HSV | hsv(359, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 81%, 50.6%) |
| CIE-LAB | lab(26.95, 43.24, 27.57) |
| CIE-LCH | lch(26.95, 51.28, 32.53°) |
| OKLab | oklab(38.7% 0.1246 0.0604) |
| OKLCH | oklch(38.7% 0.138 25.8) |
| XYZ | xyz(9.0571, 5.0768, 1.3670) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.49
Blood
#770001
ΔE00 4.24
Maroon
#800000
ΔE00 4.63
Reddy Brown
#6E1005
ΔE00 4.79
Dark Red
#840000
ΔE00 4.93
Indian Red
#850E04
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1618 #167E7C
analogous
#7E164C #7E1618 #7E4816
triadic
#7E1618 #187E16 #16187E
tetradic
#7E1618 #4C7E16 #167E7C #48167E
square
#7E1618 #4C7E16 #167E7C #48167E
split-complementary
#7E1618 #167E48 #164C7E
monochromatic
#1A0505 #4A0D0E #7E1618 #B21F22 #DB3336
Accessibility & contrast
On white
10.42
#7E1618 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1618 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1618
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1618 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1618; /* rgb */ color: rgb(126, 22, 24); /* oklch */ color: oklch(38.7% 0.138 25.8);
Tailwind
colors: {
custom: {
50: '#ac5f55',
500: '#7e1618',
950: '#000000',
},
}SCSS
$custom: #7e1618; $custom-light: #ac5f55; $custom-dark: #000000;
JSON
{
"hex": "#7e1618",
"rgb": {
"r": 126,
"g": 22,
"b": 24
},
"hsl": {
"h": 358.846,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38701,
"c": 0.13847,
"h": 25.8
},
"luminance": 0.05075
}Semantic roles & 50–950 ramp
primary
#7E1618
secondary
#3DB3B1
accent
#EDEA3B
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978