#A5222B#A5222B
#A5222B is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 23.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A5222B |
|---|---|
| RGB | rgb(165, 34, 43) |
| HSL | hsl(356, 66%, 39%) |
| HSV | hsv(356, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 73.9%, 35.3%) |
| CIE-LAB | lab(36.59, 52.38, 28.87) |
| CIE-LCH | lch(36.59, 59.81, 28.86°) |
| OKLab | oklab(47.37% 0.1528 0.0655) |
| OKLCH | oklch(47.37% 0.166 23.2) |
| XYZ | xyz(16.5271, 9.3204, 3.2138) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.86
Firebrick
#B22222
ΔE00 4.34
Carmine
#9D0216
ΔE00 4.68
Lipstick Red
#C0022F
ΔE00 4.90
Rouge
#AB1239
ΔE00 5.63
Scarlet
#BE0119
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5222B #22A59C
analogous
#A5226D #A5222B #A55B22
triadic
#A5222B #2BA522 #222BA5
tetradic
#A5222B #6DA522 #22A59C #5B22A5
square
#A5222B #6DA522 #22A59C #5B22A5
split-complementary
#A5222B #22A55B #226DA5
monochromatic
#400D11 #72181E #A5222B #D4303B #DF636B
Accessibility & contrast
On white
7.33
#A5222B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A5222B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5222B
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5222B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5222B | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a5222b; /* rgb */ color: rgb(165, 34, 43); /* oklch */ color: oklch(47.4% 0.166 23.2);
Tailwind
colors: {
custom: {
50: '#c86a64',
500: '#a5222b',
950: '#000000',
},
}SCSS
$custom: #a5222b; $custom-light: #c86a64; $custom-dark: #000000;
JSON
{
"hex": "#a5222b",
"rgb": {
"r": 165,
"g": 34,
"b": 43
},
"hsl": {
"h": 355.878,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.47372,
"c": 0.16621,
"h": 23.2
},
"luminance": 0.09318
}Semantic roles & 50–950 ramp
primary
#A5222B
secondary
#5FC4BD
accent
#E9DD3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A