#7E221A#7E221A
#7E221A is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 29.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E221A |
|---|---|
| RGB | rgb(126, 34, 26) |
| HSL | hsl(5, 66%, 30%) |
| HSV | hsv(5, 79%, 49%) |
| CMYK | cmyk(0%, 73%, 79.4%, 50.6%) |
| CIE-LAB | lab(28.53, 39.00, 28.03) |
| CIE-LCH | lch(28.53, 48.03, 35.71°) |
| OKLab | oklab(39.88% 0.1117 0.062) |
| OKLCH | oklch(39.88% 0.128 29) |
| XYZ | xyz(9.3637, 5.6557, 1.5757) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.20
Indian Red
#850E04
ΔE00 4.40
Maroon
#800000
ΔE00 4.71
Reddy Brown
#6E1005
ΔE00 4.75
Blood
#770001
ΔE00 4.79
Dark Red
#840000
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E221A #1A767E
analogous
#7E1A44 #7E221A #7E541A
triadic
#7E221A #1A7E22 #221A7E
tetradic
#7E221A #447E1A #1A767E #541A7E
square
#7E221A #447E1A #1A767E #541A7E
split-complementary
#7E221A #1A7E54 #1A447E
monochromatic
#190705 #4B1410 #7E221A #B13024 #D7483C
Accessibility & contrast
On white
9.86
#7E221A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E221A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E221A
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E221A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E221A | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e221a; /* rgb */ color: rgb(126, 34, 26); /* oklch */ color: oklch(39.9% 0.128 29.0);
Tailwind
colors: {
custom: {
50: '#ab6457',
500: '#7e221a',
950: '#000000',
},
}SCSS
$custom: #7e221a; $custom-light: #ab6457; $custom-dark: #000000;
JSON
{
"hex": "#7e221a",
"rgb": {
"r": 126,
"g": 34,
"b": 26
},
"hsl": {
"h": 4.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39881,
"c": 0.12778,
"h": 29
},
"luminance": 0.05654
}Semantic roles & 50–950 ramp
primary
#7E221A
secondary
#42A9B2
accent
#DBE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78