#7E181F#7E181F
#7E181F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 23.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E181F |
|---|---|
| RGB | rgb(126, 24, 31) |
| HSL | hsl(356, 68%, 29%) |
| HSV | hsv(356, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 75.4%, 50.6%) |
| CIE-LAB | lab(27.27, 42.90, 23.51) |
| CIE-LCH | lch(27.27, 48.92, 28.73°) |
| OKLab | oklab(38.96% 0.1252 0.0534) |
| OKLCH | oklch(38.96% 0.136 23.1) |
| XYZ | xyz(9.1792, 5.1893, 1.8144) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.27
Wine Red
#7B0323
ΔE00 4.51
Crimson (survey)
#8C000F
ΔE00 5.13
Claret
#680018
ΔE00 5.85
Rosewood
#65000B
ΔE00 5.97
Blood
#770001
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E181F #187E77
analogous
#7E1852 #7E181F #7E4418
triadic
#7E181F #1F7E18 #181F7E
tetradic
#7E181F #527E18 #187E77 #44187E
square
#7E181F #527E18 #187E77 #44187E
split-complementary
#7E181F #187E44 #18527E
monochromatic
#1A0506 #4B0E12 #7E181F #B1222C #D93743
Accessibility & contrast
On white
10.31
#7E181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E181F
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E181F | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e181f; /* rgb */ color: rgb(126, 24, 31); /* oklch */ color: oklch(39.0% 0.136 23.1);
Tailwind
colors: {
custom: {
50: '#ab5f5a',
500: '#7e181f',
950: '#000000',
},
}SCSS
$custom: #7e181f; $custom-light: #ab5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7e181f",
"rgb": {
"r": 126,
"g": 24,
"b": 31
},
"hsl": {
"h": 355.882,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38964,
"c": 0.13613,
"h": 23.1
},
"luminance": 0.05188
}Semantic roles & 50–950 ramp
primary
#7E181F
secondary
#3FB2AB
accent
#EBDF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979