#7E181D#7E181D
#7E181D is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 24.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E181D |
|---|---|
| RGB | rgb(126, 24, 29) |
| HSL | hsl(357, 68%, 29%) |
| HSV | hsv(357, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 77%, 50.6%) |
| CIE-LAB | lab(27.24, 42.81, 24.76) |
| CIE-LCH | lch(27.24, 49.46, 30.04°) |
| OKLab | oklab(38.93% 0.1244 0.0557) |
| OKLCH | oklch(38.93% 0.136 24.1) |
| XYZ | xyz(9.1537, 5.1790, 1.6798) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.85
Crimson (survey)
#8C000F
ΔE00 4.56
Wine Red
#7B0323
ΔE00 5.17
Blood
#770001
ΔE00 5.59
Rosewood
#65000B
ΔE00 5.83
Reddy Brown
#6E1005
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E181D #187E79
analogous
#7E1850 #7E181D #7E4618
triadic
#7E181D #1D7E18 #181D7E
tetradic
#7E181D #507E18 #187E79 #46187E
square
#7E181D #507E18 #187E79 #46187E
split-complementary
#7E181D #187E46 #18507E
monochromatic
#1A0506 #4B0E11 #7E181D #B12229 #D9373F
Accessibility & contrast
On white
10.32
#7E181D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E181D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E181D
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E181D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E181D | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e181d; /* rgb */ color: rgb(126, 24, 29); /* oklch */ color: oklch(38.9% 0.136 24.1);
Tailwind
colors: {
custom: {
50: '#ab5f59',
500: '#7e181d',
950: '#000000',
},
}SCSS
$custom: #7e181d; $custom-light: #ab5f59; $custom-dark: #000000;
JSON
{
"hex": "#7e181d",
"rgb": {
"r": 126,
"g": 24,
"b": 29
},
"hsl": {
"h": 357.059,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38934,
"c": 0.13633,
"h": 24.1
},
"luminance": 0.05178
}Semantic roles & 50–950 ramp
primary
#7E181D
secondary
#3FB2AD
accent
#EBE23D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978