#A7222A#A7222A
#A7222A is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.168 H 23.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A7222A |
|---|---|
| RGB | rgb(167, 34, 42) |
| HSL | hsl(356, 66%, 39%) |
| HSV | hsv(356, 80%, 65%) |
| CMYK | cmyk(0%, 79.6%, 74.9%, 34.5%) |
| CIE-LAB | lab(36.98, 52.94, 30.03) |
| CIE-LCH | lch(36.98, 60.86, 29.57°) |
| OKLab | oklab(47.73% 0.1541 0.0677) |
| OKLCH | oklch(47.73% 0.168 23.7) |
| XYZ | xyz(16.9283, 9.5294, 3.1381) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.47
Firebrick
#B22222
ΔE00 3.74
Carmine
#9D0216
ΔE00 4.61
Lipstick Red
#C0022F
ΔE00 4.69
Scarlet
#BE0119
ΔE00 5.66
Rouge
#AB1239
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7222A #22A79F
analogous
#A7226D #A7222A #A75D22
triadic
#A7222A #2AA722 #222AA7
tetradic
#A7222A #6DA722 #22A79F #5D22A7
square
#A7222A #6DA722 #22A79F #5D22A7
split-complementary
#A7222A #22A75D #226DA7
monochromatic
#410D10 #74181D #A7222A #D5313B #DF646B
Accessibility & contrast
On white
7.23
#A7222A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A7222A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7222A
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7222A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7222A | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4529
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a7222a; /* rgb */ color: rgb(167, 34, 42); /* oklch */ color: oklch(47.7% 0.168 23.7);
Tailwind
colors: {
custom: {
50: '#ca6a63',
500: '#a7222a',
950: '#000000',
},
}SCSS
$custom: #a7222a; $custom-light: #ca6a63; $custom-dark: #000000;
JSON
{
"hex": "#a7222a",
"rgb": {
"r": 167,
"g": 34,
"b": 42
},
"hsl": {
"h": 356.391,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.47729,
"c": 0.16826,
"h": 23.7
},
"luminance": 0.09527
}Semantic roles & 50–950 ramp
primary
#A7222A
secondary
#60C5BF
accent
#E9DF3F
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79