#A5312A#A5312A
#A5312A is a mid, vivid red. Relative luminance 0.104; OKLCH L 48.8% C 0.153 H 27.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5312A |
|---|---|
| RGB | rgb(165, 49, 42) |
| HSL | hsl(3, 59%, 41%) |
| HSV | hsv(3, 75%, 65%) |
| CMYK | cmyk(0%, 70.3%, 74.5%, 35.3%) |
| CIE-LAB | lab(38.49, 47.03, 31.63) |
| CIE-LCH | lch(38.49, 56.68, 33.92°) |
| OKLab | oklab(48.78% 0.1357 0.0713) |
| OKLCH | oklch(48.78% 0.153 27.7) |
| XYZ | xyz(17.0352, 10.3657, 3.2938) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.70
Firebrick
#B22222
ΔE00 2.88
Brick
#A03623
ΔE00 3.28
Brownish Red
#9E3623
ΔE00 3.38
Scarlet
#BE0119
ΔE00 5.38
Carmine
#9D0216
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5312A #2A9EA5
analogous
#A52A60 #A5312A #A56F2A
triadic
#A5312A #2AA531 #312AA5
tetradic
#A5312A #60A52A #2A9EA5 #6F2AA5
square
#A5312A #60A52A #2A9EA5 #6F2AA5
split-complementary
#A5312A #2AA56F #2A60A5
monochromatic
#431411 #74231E #A5312A #CE463E #DA756F
Accessibility & contrast
On white
6.83
#A5312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#A5312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5312A
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5312A | 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)
#524B28
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#B60830
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5312a; /* rgb */ color: rgb(165, 49, 42); /* oklch */ color: oklch(48.8% 0.153 27.7);
Tailwind
colors: {
custom: {
50: '#c87164',
500: '#a5312a',
950: '#000000',
},
}SCSS
$custom: #a5312a; $custom-light: #c87164; $custom-dark: #000000;
JSON
{
"hex": "#a5312a",
"rgb": {
"r": 165,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.415,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.48781,
"c": 0.15323,
"h": 27.7
},
"luminance": 0.10363
}Semantic roles & 50–950 ramp
primary
#A5312A
secondary
#69BCC1
accent
#DAE345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A