#7E2A15#7E2A15
#7E2A15 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.121 H 35.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A15 |
|---|---|
| RGB | rgb(126, 42, 21) |
| HSL | hsl(12, 71%, 29%) |
| HSV | hsv(12, 83%, 49%) |
| CMYK | cmyk(0%, 66.7%, 83.3%, 50.6%) |
| CIE-LAB | lab(29.78, 35.27, 32.17) |
| CIE-LCH | lch(29.78, 47.73, 42.37°) |
| OKLab | oklab(40.81% 0.0991 0.0694) |
| OKLCH | oklch(40.81% 0.121 35) |
| XYZ | xyz(9.5686, 6.1471, 1.3920) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.85
Reddish Brown
#7F2B0A
ΔE00 3.03
Indian Red
#850E04
ΔE00 4.49
Chestnut
#742802
ΔE00 4.76
Brick Red
#8F1402
ΔE00 4.83
Brown Red
#922B05
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A15 #15697E
analogous
#7E1535 #7E2A15 #7E5F15
triadic
#7E2A15 #157E2A #2A157E
tetradic
#7E2A15 #357E15 #15697E #5F157E
square
#7E2A15 #357E15 #15697E #5F157E
split-complementary
#7E2A15 #157E5F #15357E
monochromatic
#1A0904 #4A190C #7E2A15 #B23B1E #DD5331
Accessibility & contrast
On white
9.42
#7E2A15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2A15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A15
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A15 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A12
Deuteranopia (green-blind)
#574D11
Tritanopia (blue-blind)
#8B1326
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a15; /* rgb */ color: rgb(126, 42, 21); /* oklch */ color: oklch(40.8% 0.121 35.0);
Tailwind
colors: {
custom: {
50: '#ab6854',
500: '#7e2a15',
950: '#000000',
},
}SCSS
$custom: #7e2a15; $custom-light: #ab6854; $custom-dark: #000000;
JSON
{
"hex": "#7e2a15",
"rgb": {
"r": 126,
"g": 42,
"b": 21
},
"hsl": {
"h": 12,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40806,
"c": 0.12097,
"h": 35
},
"luminance": 0.06146
}Semantic roles & 50–950 ramp
primary
#7E2A15
secondary
#3C9BB3
accent
#CAEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78