#A7222E#A7222E
#A7222E is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.168 H 22.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A7222E |
|---|---|
| RGB | rgb(167, 34, 46) |
| HSL | hsl(355, 66%, 39%) |
| HSV | hsv(355, 80%, 65%) |
| CMYK | cmyk(0%, 79.6%, 72.5%, 34.5%) |
| CIE-LAB | lab(37.04, 53.11, 27.65) |
| CIE-LCH | lch(37.04, 59.88, 27.50°) |
| OKLab | oklab(47.79% 0.1555 0.0633) |
| OKLCH | oklch(47.79% 0.168 22.1) |
| XYZ | xyz(17.0035, 9.5595, 3.5341) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.51
Lipstick Red
#C0022F
ΔE00 4.41
Rouge
#AB1239
ΔE00 4.82
Firebrick
#B22222
ΔE00 4.84
Carmine
#9D0216
ΔE00 5.45
Cardinal
#C41E3A
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7222E #22A79B
analogous
#A72271 #A7222E #A75822
triadic
#A7222E #2EA722 #222EA7
tetradic
#A7222E #71A722 #22A79B #5822A7
square
#A7222E #71A722 #22A79B #5822A7
split-complementary
#A7222E #22A758 #2271A7
monochromatic
#410D12 #741820 #A7222E #D53140 #DF646F
Accessibility & contrast
On white
7.21
#A7222E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A7222E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7222E
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7222E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7222E | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a7222e; /* rgb */ color: rgb(167, 34, 46); /* oklch */ color: oklch(47.8% 0.168 22.1);
Tailwind
colors: {
custom: {
50: '#c96a66',
500: '#a7222e',
950: '#000000',
},
}SCSS
$custom: #a7222e; $custom-light: #c96a66; $custom-dark: #000000;
JSON
{
"hex": "#a7222e",
"rgb": {
"r": 167,
"g": 34,
"b": 46
},
"hsl": {
"h": 354.586,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.47788,
"c": 0.16791,
"h": 22.1
},
"luminance": 0.09557
}Semantic roles & 50–950 ramp
primary
#A7222E
secondary
#60C5BC
accent
#E9DA3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A