#A5312B#A5312B
#A5312B is a mid, vivid red. Relative luminance 0.104; OKLCH L 48.8% C 0.153 H 27.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5312B |
|---|---|
| RGB | rgb(165, 49, 43) |
| HSL | hsl(3, 59%, 41%) |
| HSV | hsv(3, 74%, 65%) |
| CMYK | cmyk(0%, 70.3%, 73.9%, 35.3%) |
| CIE-LAB | lab(38.50, 47.08, 31.06) |
| CIE-LCH | lch(38.50, 56.40, 33.41°) |
| OKLab | oklab(48.8% 0.136 0.0702) |
| OKLCH | oklch(48.8% 0.153 27.3) |
| XYZ | xyz(17.0533, 10.3729, 3.3893) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.48
Firebrick
#B22222
ΔE00 2.98
Brick
#A03623
ΔE00 3.56
Brownish Red
#9E3623
ΔE00 3.65
Scarlet
#BE0119
ΔE00 5.47
Carmine
#9D0216
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5312B #2B9FA5
analogous
#A52B62 #A5312B #A56E2B
triadic
#A5312B #2BA531 #312BA5
tetradic
#A5312B #62A52B #2B9FA5 #6E2BA5
square
#A5312B #62A52B #2B9FA5 #6E2BA5
split-complementary
#A5312B #2BA56E #2B62A5
monochromatic
#441412 #74231E #A5312B #CD4740 #DA7671
Accessibility & contrast
On white
6.83
#A5312B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#A5312B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5312B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5312B | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#B60931
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5312b; /* rgb */ color: rgb(165, 49, 43); /* oklch */ color: oklch(48.8% 0.153 27.3);
Tailwind
colors: {
custom: {
50: '#c77165',
500: '#a5312b',
950: '#000000',
},
}SCSS
$custom: #a5312b; $custom-light: #c77165; $custom-dark: #000000;
JSON
{
"hex": "#a5312b",
"rgb": {
"r": 165,
"g": 49,
"b": 43
},
"hsl": {
"h": 2.951,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.48795,
"c": 0.15308,
"h": 27.3
},
"luminance": 0.1037
}Semantic roles & 50–950 ramp
primary
#A5312B
secondary
#6BBDC1
accent
#DAE246
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A