#A5222C#A5222C
#A5222C is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 22.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A5222C |
|---|---|
| RGB | rgb(165, 34, 44) |
| HSL | hsl(355, 66%, 39%) |
| HSV | hsv(355, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 73.3%, 35.3%) |
| CIE-LAB | lab(36.61, 52.42, 28.27) |
| CIE-LCH | lch(36.61, 59.56, 28.34°) |
| OKLab | oklab(47.39% 0.1532 0.0644) |
| OKLCH | oklch(47.39% 0.166 22.8) |
| XYZ | xyz(16.5456, 9.3278, 3.3116) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.12
Firebrick
#B22222
ΔE00 4.61
Lipstick Red
#C0022F
ΔE00 4.83
Carmine
#9D0216
ΔE00 4.90
Rouge
#AB1239
ΔE00 5.32
Cardinal
#C41E3A
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5222C #22A59B
analogous
#A5226E #A5222C #A55A22
triadic
#A5222C #2CA522 #222CA5
tetradic
#A5222C #6EA522 #22A59B #5A22A5
square
#A5222C #6EA522 #22A59B #5A22A5
split-complementary
#A5222C #22A55A #226EA5
monochromatic
#400D11 #72181E #A5222C #D4303C #DF636C
Accessibility & contrast
On white
7.33
#A5222C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A5222C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5222C
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5222C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5222C | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a5222c; /* rgb */ color: rgb(165, 34, 44); /* oklch */ color: oklch(47.4% 0.166 22.8);
Tailwind
colors: {
custom: {
50: '#c86a65',
500: '#a5222c',
950: '#000000',
},
}SCSS
$custom: #a5222c; $custom-light: #c86a65; $custom-dark: #000000;
JSON
{
"hex": "#a5222c",
"rgb": {
"r": 165,
"g": 34,
"b": 44
},
"hsl": {
"h": 355.42,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.47387,
"c": 0.16613,
"h": 22.8
},
"luminance": 0.09325
}Semantic roles & 50–950 ramp
primary
#A5222C
secondary
#5FC4BC
accent
#E9DC3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A