#7E1F18#7E1F18
#7E1F18 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.131 H 28.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F18 |
|---|---|
| RGB | rgb(126, 31, 24) |
| HSL | hsl(4, 68%, 29%) |
| HSV | hsv(4, 81%, 49%) |
| CMYK | cmyk(0%, 75.4%, 81%, 50.6%) |
| CIE-LAB | lab(28.07, 40.12, 28.74) |
| CIE-LCH | lch(28.07, 49.35, 35.62°) |
| OKLab | oklab(39.53% 0.1148 0.0629) |
| OKLCH | oklch(39.53% 0.131 28.7) |
| XYZ | xyz(9.2601, 5.4830, 1.4347) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.80
Indian Red
#850E04
ΔE00 4.05
Maroon
#800000
ΔE00 4.24
Blood
#770001
ΔE00 4.29
Reddy Brown
#6E1005
ΔE00 4.40
Dark Red
#840000
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F18 #18777E
analogous
#7E1844 #7E1F18 #7E5218
triadic
#7E1F18 #187E1F #1F187E
tetradic
#7E1F18 #447E18 #18777E #52187E
square
#7E1F18 #447E18 #18777E #52187E
split-complementary
#7E1F18 #187E52 #18447E
monochromatic
#1A0605 #4B120E #7E1F18 #B12C22 #D94337
Accessibility & contrast
On white
10.02
#7E1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F18
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F18 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1f18; /* rgb */ color: rgb(126, 31, 24); /* oklch */ color: oklch(39.5% 0.131 28.7);
Tailwind
colors: {
custom: {
50: '#ab6255',
500: '#7e1f18',
950: '#000000',
},
}SCSS
$custom: #7e1f18; $custom-light: #ab6255; $custom-dark: #000000;
JSON
{
"hex": "#7e1f18",
"rgb": {
"r": 126,
"g": 31,
"b": 24
},
"hsl": {
"h": 4.118,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39532,
"c": 0.13092,
"h": 28.7
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#7E1F18
secondary
#3FABB2
accent
#DFEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78