#A5312F#A5312F
#A5312F is a mid, vivid red. Relative luminance 0.104; OKLCH L 48.9% C 0.152 H 25.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A5312F |
|---|---|
| RGB | rgb(165, 49, 47) |
| HSL | hsl(1, 56%, 42%) |
| HSV | hsv(1, 72%, 65%) |
| CMYK | cmyk(0%, 70.3%, 71.5%, 35.3%) |
| CIE-LAB | lab(38.56, 47.27, 28.73) |
| CIE-LCH | lch(38.56, 55.32, 31.30°) |
| OKLab | oklab(48.85% 0.1375 0.066) |
| OKLCH | oklch(48.85% 0.152 25.6) |
| XYZ | xyz(17.1303, 10.4037, 3.7949) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.23
Firebrick
#B22222
ΔE00 3.65
Brick
#A03623
ΔE00 4.77
Brownish Red
#9E3623
ΔE00 4.83
Lipstick Red
#C0022F
ΔE00 5.73
Dull Red
#BB3F3F
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5312F #2FA3A5
analogous
#A52F68 #A5312F #A56C2F
triadic
#A5312F #2FA531 #312FA5
tetradic
#A5312F #68A52F #2FA3A5 #6C2FA5
square
#A5312F #68A52F #2FA3A5 #6C2FA5
split-complementary
#A5312F #2FA56C #2F68A5
monochromatic
#461514 #752321 #A5312F #CB4947 #D87876
Accessibility & contrast
On white
6.82
#A5312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#A5312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5312F
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5312F | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2E
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#B60B32
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5312f; /* rgb */ color: rgb(165, 49, 47); /* oklch */ color: oklch(48.9% 0.152 25.6);
Tailwind
colors: {
custom: {
50: '#c77168',
500: '#a5312f',
950: '#000000',
},
}SCSS
$custom: #a5312f; $custom-light: #c77168; $custom-dark: #000000;
JSON
{
"hex": "#a5312f",
"rgb": {
"r": 165,
"g": 49,
"b": 47
},
"hsl": {
"h": 1.017,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.48852,
"c": 0.15248,
"h": 25.6
},
"luminance": 0.10401
}Semantic roles & 50–950 ramp
primary
#A5312F
secondary
#70BFC0
accent
#DCDF49
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#140806
muted
#837B7A