#7E1E18#7E1E18
#7E1E18 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 28.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E18 |
|---|---|
| RGB | rgb(126, 30, 24) |
| HSL | hsl(4, 68%, 29%) |
| HSV | hsv(4, 81%, 49%) |
| CMYK | cmyk(0%, 76.2%, 81%, 50.6%) |
| CIE-LAB | lab(27.93, 40.50, 28.60) |
| CIE-LCH | lch(27.93, 49.58, 35.23°) |
| OKLab | oklab(39.43% 0.116 0.0626) |
| OKLCH | oklch(39.43% 0.132 28.4) |
| XYZ | xyz(9.2344, 5.4316, 1.4261) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.70
Indian Red
#850E04
ΔE00 4.13
Blood
#770001
ΔE00 4.23
Maroon
#800000
ΔE00 4.24
Reddy Brown
#6E1005
ΔE00 4.40
Dark Red
#840000
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E18 #18787E
analogous
#7E1845 #7E1E18 #7E5118
triadic
#7E1E18 #187E1E #1E187E
tetradic
#7E1E18 #457E18 #18787E #51187E
square
#7E1E18 #457E18 #18787E #51187E
split-complementary
#7E1E18 #187E51 #18457E
monochromatic
#1A0605 #4B120E #7E1E18 #B12A22 #D94137
Accessibility & contrast
On white
10.07
#7E1E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E18
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E18 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 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: #7e1e18; /* rgb */ color: rgb(126, 30, 24); /* oklch */ color: oklch(39.4% 0.132 28.4);
Tailwind
colors: {
custom: {
50: '#ab6255',
500: '#7e1e18',
950: '#000000',
},
}SCSS
$custom: #7e1e18; $custom-light: #ab6255; $custom-dark: #000000;
JSON
{
"hex": "#7e1e18",
"rgb": {
"r": 126,
"g": 30,
"b": 24
},
"hsl": {
"h": 3.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39429,
"c": 0.13182,
"h": 28.4
},
"luminance": 0.0543
}Semantic roles & 50–950 ramp
primary
#7E1E18
secondary
#3FACB2
accent
#E1EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78