#A5223B#A5223B
#A5223B is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.166 H 16.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A5223B |
|---|---|
| RGB | rgb(165, 34, 59) |
| HSL | hsl(349, 66%, 39%) |
| HSV | hsv(349, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 64.2%, 35.3%) |
| CIE-LAB | lab(36.86, 53.21, 19.16) |
| CIE-LCH | lch(36.86, 56.56, 19.80°) |
| OKLab | oklab(47.65% 0.159 0.0462) |
| OKLCH | oklch(47.65% 0.166 16.2) |
| XYZ | xyz(16.8803, 9.4617, 5.0743) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.52
Rose Red
#BE013C
ΔE00 4.41
Cranberry
#9E003A
ΔE00 4.44
Raspberry (survey)
#B00149
ΔE00 5.60
Purplish Red
#B0054B
ΔE00 5.97
Lipstick Red
#C0022F
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5223B #22A58C
analogous
#A5227D #A5223B #A54B22
triadic
#A5223B #3BA522 #223BA5
tetradic
#A5223B #7DA522 #22A58C #4B22A5
square
#A5223B #7DA522 #22A58C #4B22A5
split-complementary
#A5223B #22A54B #227DA5
monochromatic
#400D17 #721829 #A5223B #D4304F #DF637A
Accessibility & contrast
On white
7.26
#A5223B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A5223B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5223B
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5223B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5223B | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48453B
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#B5002D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a5223b; /* rgb */ color: rgb(165, 34, 59); /* oklch */ color: oklch(47.7% 0.166 16.2);
Tailwind
colors: {
custom: {
50: '#c76a70',
500: '#a5223b',
950: '#000000',
},
}SCSS
$custom: #a5223b; $custom-light: #c76a70; $custom-dark: #000000;
JSON
{
"hex": "#a5223b",
"rgb": {
"r": 165,
"g": 34,
"b": 59
},
"hsl": {
"h": 348.55,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.47653,
"c": 0.16556,
"h": 16.2
},
"luminance": 0.09459
}Semantic roles & 50–950 ramp
primary
#A5223B
secondary
#5FC4B1
accent
#E9C83F
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140707
muted
#837A7A