#A7213B#A7213B
#A7213B is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.168 H 16.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A7213B |
|---|---|
| RGB | rgb(167, 33, 59) |
| HSL | hsl(348, 67%, 39%) |
| HSV | hsv(348, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 64.7%, 34.5%) |
| CIE-LAB | lab(37.15, 54.09, 19.62) |
| CIE-LCH | lch(37.15, 57.54, 19.94°) |
| OKLab | oklab(47.94% 0.1615 0.0472) |
| OKLCH | oklch(47.94% 0.168 16.3) |
| XYZ | xyz(17.2715, 9.6216, 5.0845) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.32
Rose Red
#BE013C
ΔE00 4.04
Cranberry
#9E003A
ΔE00 4.63
Raspberry (survey)
#B00149
ΔE00 5.60
Purplish Red
#B0054B
ΔE00 5.97
Lipstick Red
#C0022F
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7213B #21A78D
analogous
#A7217E #A7213B #A74A21
triadic
#A7213B #3BA721 #213BA7
tetradic
#A7213B #7EA721 #21A78D #4A21A7
square
#A7213B #7EA721 #21A78D #4A21A7
split-complementary
#A7213B #21A74A #217EA7
monochromatic
#410D17 #741729 #A7213B #D62F50 #E0627B
Accessibility & contrast
On white
7.18
#A7213B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A7213B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7213B
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7213B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7213B | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49463B
Deuteranopia (green-blind)
#6A6137
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a7213b; /* rgb */ color: rgb(167, 33, 59); /* oklch */ color: oklch(47.9% 0.168 16.3);
Tailwind
colors: {
custom: {
50: '#c96a70',
500: '#a7213b',
950: '#000000',
},
}SCSS
$custom: #a7213b; $custom-light: #c96a70; $custom-dark: #000000;
JSON
{
"hex": "#a7213b",
"rgb": {
"r": 167,
"g": 33,
"b": 59
},
"hsl": {
"h": 348.358,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.47943,
"c": 0.16829,
"h": 16.3
},
"luminance": 0.09619
}Semantic roles & 50–950 ramp
primary
#A7213B
secondary
#5FC5B1
accent
#EAC93E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A