#7A221B#7A221B
#7A221B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.123 H 28.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7A221B |
|---|---|
| RGB | rgb(122, 34, 27) |
| HSL | hsl(4, 64%, 29%) |
| HSV | hsv(4, 78%, 48%) |
| CMYK | cmyk(0%, 72.1%, 77.9%, 52.2%) |
| CIE-LAB | lab(27.74, 37.62, 26.34) |
| CIE-LCH | lch(27.74, 45.93, 35.00°) |
| OKLab | oklab(39.15% 0.1081 0.0589) |
| OKLCH | oklch(39.15% 0.123 28.6) |
| XYZ | xyz(8.7969, 5.3621, 1.6085) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 4.55
Crimson (survey)
#8C000F
ΔE00 4.84
Blood
#770001
ΔE00 4.89
Indian Red
#850E04
ΔE00 5.11
Maroon
#800000
ΔE00 5.18
Dark Red
#840000
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A221B #1B737A
analogous
#7A1B44 #7A221B #7A521B
triadic
#7A221B #1B7A22 #221B7A
tetradic
#7A221B #447A1B #1B737A #521B7A
square
#7A221B #447A1B #1B737A #521B7A
split-complementary
#7A221B #1B7A52 #1B447A
monochromatic
#190706 #481410 #7A221B #AC3026 #D4473C
Accessibility & contrast
On white
10.13
#7A221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7A221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A221B
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A221B | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#870421
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7a221b; /* rgb */ color: rgb(122, 34, 27); /* oklch */ color: oklch(39.2% 0.123 28.6);
Tailwind
colors: {
custom: {
50: '#a86358',
500: '#7a221b',
950: '#000000',
},
}SCSS
$custom: #7a221b; $custom-light: #a86358; $custom-dark: #000000;
JSON
{
"hex": "#7a221b",
"rgb": {
"r": 122,
"g": 34,
"b": 27
},
"hsl": {
"h": 4.421,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.39152,
"c": 0.12312,
"h": 28.6
},
"luminance": 0.05361
}Semantic roles & 50–950 ramp
primary
#7A221B
secondary
#43A6AE
accent
#DBE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78