#7E1D18#7E1D18
#7E1D18 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 28.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D18 |
|---|---|
| RGB | rgb(126, 29, 24) |
| HSL | hsl(3, 68%, 29%) |
| HSV | hsv(3, 81%, 49%) |
| CMYK | cmyk(0%, 77%, 81%, 50.6%) |
| CIE-LAB | lab(27.80, 40.88, 28.46) |
| CIE-LCH | lch(27.80, 49.81, 34.84°) |
| OKLab | oklab(39.33% 0.1172 0.0623) |
| OKLCH | oklch(39.33% 0.133 28) |
| XYZ | xyz(9.2095, 5.3817, 1.4178) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.62
Blood
#770001
ΔE00 4.19
Indian Red
#850E04
ΔE00 4.22
Maroon
#800000
ΔE00 4.25
Reddy Brown
#6E1005
ΔE00 4.42
Dark Red
#840000
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D18 #18797E
analogous
#7E1846 #7E1D18 #7E5018
triadic
#7E1D18 #187E1D #1D187E
tetradic
#7E1D18 #467E18 #18797E #50187E
square
#7E1D18 #467E18 #18797E #50187E
split-complementary
#7E1D18 #187E50 #18467E
monochromatic
#1A0605 #4B110E #7E1D18 #B12922 #D93F37
Accessibility & contrast
On white
10.12
#7E1D18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1D18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D18
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D18 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3416
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1d18; /* rgb */ color: rgb(126, 29, 24); /* oklch */ color: oklch(39.3% 0.133 28.0);
Tailwind
colors: {
custom: {
50: '#ab6155',
500: '#7e1d18',
950: '#000000',
},
}SCSS
$custom: #7e1d18; $custom-light: #ab6155; $custom-dark: #000000;
JSON
{
"hex": "#7e1d18",
"rgb": {
"r": 126,
"g": 29,
"b": 24
},
"hsl": {
"h": 2.941,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39328,
"c": 0.13271,
"h": 28
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#7E1D18
secondary
#3FADB2
accent
#E2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78