#7E2A18#7E2A18
#7E2A18 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.8% C 0.120 H 33.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A18 |
|---|---|
| RGB | rgb(126, 42, 24) |
| HSL | hsl(11, 68%, 29%) |
| HSV | hsv(11, 81%, 49%) |
| CMYK | cmyk(0%, 66.7%, 81%, 50.6%) |
| CIE-LAB | lab(29.81, 35.38, 30.54) |
| CIE-LCH | lch(29.81, 46.74, 40.80°) |
| OKLab | oklab(40.84% 0.1 0.0668) |
| OKLCH | oklch(40.84% 0.12 33.7) |
| XYZ | xyz(9.5981, 6.1589, 1.5474) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.19
Reddish Brown
#7F2B0A
ΔE00 3.95
Indian Red
#850E04
ΔE00 4.52
Brick Red
#8F1402
ΔE00 5.10
Dark Red
#840000
ΔE00 5.46
Maroon
#800000
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A18 #186C7E
analogous
#7E1839 #7E2A18 #7E5D18
triadic
#7E2A18 #187E2A #2A187E
tetradic
#7E2A18 #397E18 #186C7E #5D187E
square
#7E2A18 #397E18 #186C7E #5D187E
split-complementary
#7E2A18 #187E5D #18397E
monochromatic
#1A0905 #4B190E #7E2A18 #B13B22 #D95437
Accessibility & contrast
On white
9.41
#7E2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A18
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A18 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#8B1326
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a18; /* rgb */ color: rgb(126, 42, 24); /* oklch */ color: oklch(40.8% 0.120 33.7);
Tailwind
colors: {
custom: {
50: '#ab6856',
500: '#7e2a18',
950: '#000000',
},
}SCSS
$custom: #7e2a18; $custom-light: #ab6856; $custom-dark: #000000;
JSON
{
"hex": "#7e2a18",
"rgb": {
"r": 126,
"g": 42,
"b": 24
},
"hsl": {
"h": 10.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.40837,
"c": 0.1203,
"h": 33.7
},
"luminance": 0.06157
}Semantic roles & 50–950 ramp
primary
#7E2A18
secondary
#3F9EB2
accent
#CCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78