#A7313E#A7313E
#A7313E is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.153 H 18.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A7313E |
|---|---|
| RGB | rgb(167, 49, 62) |
| HSL | hsl(353, 55%, 42%) |
| HSV | hsv(353, 71%, 65%) |
| CMYK | cmyk(0%, 70.7%, 62.9%, 34.5%) |
| CIE-LAB | lab(39.18, 48.80, 20.36) |
| CIE-LCH | lch(39.18, 52.87, 22.64°) |
| OKLab | oklab(49.46% 0.1452 0.0492) |
| OKLCH | oklch(49.46% 0.153 18.7) |
| XYZ | xyz(17.9060, 10.7625, 5.6910) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.79
Rose Red
#BE013C
ΔE00 4.82
Cardinal
#C41E3A
ΔE00 5.45
Brown
#A52A2A
ΔE00 5.49
Lipstick Red
#C0022F
ΔE00 5.73
Dull Red
#BB3F3F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7313E #31A79A
analogous
#A73179 #A7313E #A75F31
triadic
#A7313E #3EA731 #313EA7
tetradic
#A7313E #79A731 #31A79A #5F31A7
square
#A7313E #79A731 #31A79A #5F31A7
split-complementary
#A7313E #31A75F #3179A7
monochromatic
#48151B #78232C #A7313E #CA4B59 #D87A85
Accessibility & contrast
On white
6.66
#A7313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A7313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7313E
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7313E | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C3E
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#B71137
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a7313e; /* rgb */ color: rgb(167, 49, 62); /* oklch */ color: oklch(49.5% 0.153 18.7);
Tailwind
colors: {
custom: {
50: '#c87173',
500: '#a7313e',
950: '#000000',
},
}SCSS
$custom: #a7313e; $custom-light: #c87173; $custom-dark: #000000;
JSON
{
"hex": "#a7313e",
"rgb": {
"r": 167,
"g": 49,
"b": 62
},
"hsl": {
"h": 353.39,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.49463,
"c": 0.15327,
"h": 18.7
},
"luminance": 0.1076
}Semantic roles & 50–950 ramp
primary
#A7313E
secondary
#73C1B8
accent
#DECE4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B