#A5342A#A5342A
#A5342A is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.1% C 0.150 H 28.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A5342A |
|---|---|
| RGB | rgb(165, 52, 42) |
| HSL | hsl(5, 59%, 41%) |
| HSV | hsv(5, 75%, 65%) |
| CMYK | cmyk(0%, 68.5%, 74.5%, 35.3%) |
| CIE-LAB | lab(38.94, 45.80, 32.14) |
| CIE-LCH | lch(38.94, 55.95, 35.06°) |
| OKLab | oklab(49.12% 0.1318 0.0724) |
| OKLCH | oklch(49.12% 0.15 28.8) |
| XYZ | xyz(17.1649, 10.6250, 3.3370) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.51
Brick
#A03623
ΔE00 2.63
Brownish Red
#9E3623
ΔE00 2.78
Firebrick
#B22222
ΔE00 3.12
Scarlet
#BE0119
ΔE00 5.54
Darkish Red
#A90308
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5342A #2A9BA5
analogous
#A52A5D #A5342A #A5712A
triadic
#A5342A #2AA534 #342AA5
tetradic
#A5342A #5DA52A #2A9BA5 #712AA5
square
#A5342A #5DA52A #2A9BA5 #712AA5
split-complementary
#A5342A #2AA571 #2A5DA5
monochromatic
#431511 #74251E #A5342A #CE4A3E #DA786F
Accessibility & contrast
On white
6.72
#A5342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A5342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5342A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5342A | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#B61233
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a5342a; /* rgb */ color: rgb(165, 52, 42); /* oklch */ color: oklch(49.1% 0.150 28.8);
Tailwind
colors: {
custom: {
50: '#c77264',
500: '#a5342a',
950: '#000000',
},
}SCSS
$custom: #a5342a; $custom-light: #c77264; $custom-dark: #000000;
JSON
{
"hex": "#a5342a",
"rgb": {
"r": 165,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.878,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.49119,
"c": 0.15035,
"h": 28.8
},
"luminance": 0.10622
}Semantic roles & 50–950 ramp
primary
#A5342A
secondary
#69BAC1
accent
#D6E345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A