#A7212B#A7212B
#A7212B is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.169 H 23.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A7212B |
|---|---|
| RGB | rgb(167, 33, 43) |
| HSL | hsl(356, 67%, 39%) |
| HSV | hsv(356, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 74.3%, 34.5%) |
| CIE-LAB | lab(36.89, 53.27, 29.32) |
| CIE-LCH | lch(36.89, 60.81, 28.83°) |
| OKLab | oklab(47.67% 0.1554 0.0663) |
| OKLCH | oklch(47.67% 0.169 23.1) |
| XYZ | xyz(16.9182, 9.4803, 3.2241) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.87
Firebrick
#B22222
ΔE00 4.13
Lipstick Red
#C0022F
ΔE00 4.55
Carmine
#9D0216
ΔE00 4.79
Rouge
#AB1239
ΔE00 5.62
Scarlet
#BE0119
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7212B #21A79D
analogous
#A7216E #A7212B #A75A21
triadic
#A7212B #2BA721 #212BA7
tetradic
#A7212B #6EA721 #21A79D #5A21A7
square
#A7212B #6EA721 #21A79D #5A21A7
split-complementary
#A7212B #21A75A #216EA7
monochromatic
#410D11 #74171E #A7212B #D62F3C #E0626C
Accessibility & contrast
On white
7.25
#A7212B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A7212B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7212B
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7212B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7212B | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B442A
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#B80026
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a7212b; /* rgb */ color: rgb(167, 33, 43); /* oklch */ color: oklch(47.7% 0.169 23.1);
Tailwind
colors: {
custom: {
50: '#ca6a64',
500: '#a7212b',
950: '#000000',
},
}SCSS
$custom: #a7212b; $custom-light: #ca6a64; $custom-dark: #000000;
JSON
{
"hex": "#a7212b",
"rgb": {
"r": 167,
"g": 33,
"b": 43
},
"hsl": {
"h": 355.522,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.47666,
"c": 0.16892,
"h": 23.1
},
"luminance": 0.09478
}Semantic roles & 50–950 ramp
primary
#A7212B
secondary
#5FC5BD
accent
#EADD3E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A