#A5242A#A5242A
#A5242A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.165 H 24.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A5242A |
|---|---|
| RGB | rgb(165, 36, 42) |
| HSL | hsl(357, 64%, 39%) |
| HSV | hsv(357, 78%, 65%) |
| CMYK | cmyk(0%, 78.2%, 74.5%, 35.3%) |
| CIE-LAB | lab(36.80, 51.71, 29.72) |
| CIE-LCH | lch(36.80, 59.64, 29.88°) |
| OKLab | oklab(47.52% 0.1504 0.0671) |
| OKLCH | oklch(47.52% 0.165 24) |
| XYZ | xyz(16.5678, 9.4309, 3.1380) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.25
Firebrick
#B22222
ΔE00 3.82
Carmine
#9D0216
ΔE00 4.50
Lipstick Red
#C0022F
ΔE00 5.08
Scarlet
#BE0119
ΔE00 5.85
Brick
#A03623
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5242A #24A59F
analogous
#A5246B #A5242A #A55E24
triadic
#A5242A #2AA524 #242AA5
tetradic
#A5242A #6BA524 #24A59F #5E24A5
square
#A5242A #6BA524 #24A59F #5E24A5
split-complementary
#A5242A #24A55E #246BA5
monochromatic
#410E10 #73191D #A5242A #D3343B #DE666B
Accessibility & contrast
On white
7.28
#A5242A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A5242A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5242A
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5242A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5242A | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4529
Deuteranopia (green-blind)
#6B6125
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a5242a; /* rgb */ color: rgb(165, 36, 42); /* oklch */ color: oklch(47.5% 0.165 24.0);
Tailwind
colors: {
custom: {
50: '#c86b63',
500: '#a5242a',
950: '#000000',
},
}SCSS
$custom: #a5242a; $custom-light: #c86b63; $custom-dark: #000000;
JSON
{
"hex": "#a5242a",
"rgb": {
"r": 165,
"g": 36,
"b": 42
},
"hsl": {
"h": 357.209,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.47521,
"c": 0.16472,
"h": 24
},
"luminance": 0.09428
}Semantic roles & 50–950 ramp
primary
#A5242A
secondary
#62C3BF
accent
#E7DF41
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79