#A5313B#A5313B
#A5313B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.151 H 20.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A5313B |
|---|---|
| RGB | rgb(165, 49, 59) |
| HSL | hsl(355, 54%, 42%) |
| HSV | hsv(355, 70%, 65%) |
| CMYK | cmyk(0%, 70.3%, 64.2%, 35.3%) |
| CIE-LAB | lab(38.75, 47.95, 21.60) |
| CIE-LCH | lch(38.75, 52.59, 24.25°) |
| OKLab | oklab(49.06% 0.1422 0.0518) |
| OKLCH | oklch(49.06% 0.151 20) |
| XYZ | xyz(17.4066, 10.5142, 5.2497) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.18
Brown
#A52A2A
ΔE00 4.61
Rose Red
#BE013C
ΔE00 5.34
Lipstick Red
#C0022F
ΔE00 5.61
Cardinal
#C41E3A
ΔE00 5.64
Dull Red
#BB3F3F
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5313B #31A59B
analogous
#A53175 #A5313B #A56131
triadic
#A5313B #3BA531 #313BA5
tetradic
#A5313B #75A531 #31A59B #6131A5
square
#A5313B #75A531 #31A59B #6131A5
split-complementary
#A5313B #31A561 #3175A5
monochromatic
#471519 #76232A #A5313B #C94A55 #D77981
Accessibility & contrast
On white
6.77
#A5313B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A5313B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5313B
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5313B | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504C3B
Deuteranopia (green-blind)
#6E6438
Tritanopia (blue-blind)
#B51136
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5313b; /* rgb */ color: rgb(165, 49, 59); /* oklch */ color: oklch(49.1% 0.151 20.0);
Tailwind
colors: {
custom: {
50: '#c67170',
500: '#a5313b',
950: '#000000',
},
}SCSS
$custom: #a5313b; $custom-light: #c67170; $custom-dark: #000000;
JSON
{
"hex": "#a5313b",
"rgb": {
"r": 165,
"g": 49,
"b": 59
},
"hsl": {
"h": 354.828,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.49058,
"c": 0.15128,
"h": 20
},
"luminance": 0.10512
}Semantic roles & 50–950 ramp
primary
#A5313B
secondary
#72C0B9
accent
#DED14A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140807
muted
#837B7A