#A52A1F#A52A1F
#A52A1F is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.9% C 0.161 H 29.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A52A1F |
|---|---|
| RGB | rgb(165, 42, 31) |
| HSL | hsl(5, 68%, 38%) |
| HSV | hsv(5, 81%, 65%) |
| CMYK | cmyk(0%, 74.5%, 81.2%, 35.3%) |
| CIE-LAB | lab(37.40, 49.27, 36.74) |
| CIE-LCH | lch(37.40, 61.46, 36.71°) |
| OKLab | oklab(47.93% 0.1404 0.0793) |
| OKLCH | oklch(47.93% 0.161 29.4) |
| XYZ | xyz(16.5943, 9.7568, 2.3055) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.43
Brownish Red
#9E3623
ΔE00 2.57
Firebrick
#B22222
ΔE00 2.78
Brown
#A52A2A
ΔE00 3.30
Darkish Red
#A90308
ΔE00 3.89
Scarlet
#BE0119
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52A1F #1F9AA5
analogous
#A51F57 #A52A1F #A56D1F
triadic
#A52A1F #1FA52A #2A1FA5
tetradic
#A52A1F #57A51F #1F9AA5 #6D1FA5
square
#A52A1F #57A51F #1F9AA5 #6D1FA5
split-complementary
#A52A1F #1FA56D #1F57A5
monochromatic
#3E100C #711D15 #A52A1F #D7382A #E1685E
Accessibility & contrast
On white
7.12
#A52A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A52A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A52A1F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52A1F | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#B60029
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a52a1f; /* rgb */ color: rgb(165, 42, 31); /* oklch */ color: oklch(47.9% 0.161 29.4);
Tailwind
colors: {
custom: {
50: '#c96d5c',
500: '#a52a1f',
950: '#000000',
},
}SCSS
$custom: #a52a1f; $custom-light: #c96d5c; $custom-dark: #000000;
JSON
{
"hex": "#a52a1f",
"rgb": {
"r": 165,
"g": 42,
"b": 31
},
"hsl": {
"h": 4.925,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.47929,
"c": 0.16121,
"h": 29.4
},
"luminance": 0.09754
}Semantic roles & 50–950 ramp
primary
#A52A1F
secondary
#5BBCC5
accent
#DDEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79