#7E2318#7E2318
#7E2318 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 30.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2318 |
|---|---|
| RGB | rgb(126, 35, 24) |
| HSL | hsl(6, 68%, 29%) |
| HSV | hsv(6, 81%, 49%) |
| CMYK | cmyk(0%, 72.2%, 81%, 50.6%) |
| CIE-LAB | lab(28.66, 38.51, 29.35) |
| CIE-LCH | lch(28.66, 48.42, 37.32°) |
| OKLab | oklab(39.97% 0.1098 0.0642) |
| OKLCH | oklch(39.97% 0.127 30.3) |
| XYZ | xyz(9.3712, 5.7050, 1.4717) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.90
Crimson (survey)
#8C000F
ΔE00 4.37
Maroon
#800000
ΔE00 4.43
Dark Red
#840000
ΔE00 4.51
Reddy Brown
#6E1005
ΔE00 4.56
Blood
#770001
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2318 #18737E
analogous
#7E1840 #7E2318 #7E5618
triadic
#7E2318 #187E23 #23187E
tetradic
#7E2318 #407E18 #18737E #56187E
square
#7E2318 #407E18 #18737E #56187E
split-complementary
#7E2318 #187E56 #18407E
monochromatic
#1A0705 #4B150E #7E2318 #B13122 #D94937
Accessibility & contrast
On white
9.81
#7E2318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2318
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2318 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8B0221
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2318; /* rgb */ color: rgb(126, 35, 24); /* oklch */ color: oklch(40.0% 0.127 30.3);
Tailwind
colors: {
custom: {
50: '#ab6456',
500: '#7e2318',
950: '#000000',
},
}SCSS
$custom: #7e2318; $custom-light: #ab6456; $custom-dark: #000000;
JSON
{
"hex": "#7e2318",
"rgb": {
"r": 126,
"g": 35,
"b": 24
},
"hsl": {
"h": 6.471,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39971,
"c": 0.12717,
"h": 30.3
},
"luminance": 0.05704
}Semantic roles & 50–950 ramp
primary
#7E2318
secondary
#3FA6B2
accent
#D8EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78