#A52F1F#A52F1F
#A52F1F is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.4% C 0.157 H 31.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F1F |
|---|---|
| RGB | rgb(165, 47, 31) |
| HSL | hsl(7, 68%, 38%) |
| HSV | hsv(7, 81%, 65%) |
| CMYK | cmyk(0%, 71.5%, 81.2%, 35.3%) |
| CIE-LAB | lab(38.08, 47.40, 37.41) |
| CIE-LCH | lch(38.08, 60.39, 38.29°) |
| OKLab | oklab(48.44% 0.1345 0.0807) |
| OKLCH | oklch(48.44% 0.157 31) |
| XYZ | xyz(16.7829, 10.1339, 2.3684) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 1.52
Brownish Red
#9E3623
ΔE00 1.77
Firebrick
#B22222
ΔE00 3.47
Brown
#A52A2A
ΔE00 4.22
Darkish Red
#A90308
ΔE00 4.33
Burnt Red
#9F2305
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F1F #1F95A5
analogous
#A51F52 #A52F1F #A5721F
triadic
#A52F1F #1FA52F #2F1FA5
tetradic
#A52F1F #52A51F #1F95A5 #721FA5
square
#A52F1F #52A51F #1F95A5 #721FA5
split-complementary
#A52F1F #1FA572 #1F52A5
monochromatic
#3E120C #712015 #A52F1F #D73F2A #E16D5E
Accessibility & contrast
On white
6.94
#A52F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A52F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F1F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F1F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#B6002C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a52f1f; /* rgb */ color: rgb(165, 47, 31); /* oklch */ color: oklch(48.4% 0.157 31.0);
Tailwind
colors: {
custom: {
50: '#c86f5c',
500: '#a52f1f',
950: '#000000',
},
}SCSS
$custom: #a52f1f; $custom-light: #c86f5c; $custom-dark: #000000;
JSON
{
"hex": "#a52f1f",
"rgb": {
"r": 165,
"g": 47,
"b": 31
},
"hsl": {
"h": 7.164,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.48437,
"c": 0.15689,
"h": 31
},
"luminance": 0.10131
}Semantic roles & 50–950 ramp
primary
#A52F1F
secondary
#5BB8C5
accent
#D6EB3D
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#150804
muted
#837B79