#A7313D#A7313D
#A7313D is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.153 H 19.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A7313D |
|---|---|
| RGB | rgb(167, 49, 61) |
| HSL | hsl(354, 55%, 42%) |
| HSV | hsv(354, 71%, 65%) |
| CMYK | cmyk(0%, 70.7%, 63.5%, 34.5%) |
| CIE-LAB | lab(39.16, 48.73, 20.96) |
| CIE-LCH | lch(39.16, 53.05, 23.27°) |
| OKLab | oklab(49.44% 0.1448 0.0504) |
| OKLCH | oklch(49.44% 0.153 19.2) |
| XYZ | xyz(17.8788, 10.7516, 5.5478) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.93
Rose Red
#BE013C
ΔE00 4.91
Brown
#A52A2A
ΔE00 5.16
Cardinal
#C41E3A
ΔE00 5.36
Lipstick Red
#C0022F
ΔE00 5.56
Dull Red
#BB3F3F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7313D #31A79B
analogous
#A73178 #A7313D #A76031
triadic
#A7313D #3DA731 #313DA7
tetradic
#A7313D #78A731 #31A79B #6031A7
square
#A7313D #78A731 #31A79B #6031A7
split-complementary
#A7313D #31A760 #3178A7
monochromatic
#48151A #78232C #A7313D #CA4B58 #D87A84
Accessibility & contrast
On white
6.67
#A7313D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A7313D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7313D
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7313D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7313D | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C3D
Deuteranopia (green-blind)
#6F653A
Tritanopia (blue-blind)
#B71036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a7313d; /* rgb */ color: rgb(167, 49, 61); /* oklch */ color: oklch(49.4% 0.153 19.2);
Tailwind
colors: {
custom: {
50: '#c87172',
500: '#a7313d',
950: '#000000',
},
}SCSS
$custom: #a7313d; $custom-light: #c87172; $custom-dark: #000000;
JSON
{
"hex": "#a7313d",
"rgb": {
"r": 167,
"g": 49,
"b": 61
},
"hsl": {
"h": 353.898,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.49444,
"c": 0.15331,
"h": 19.2
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#A7313D
secondary
#73C1B9
accent
#DECF4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B