#A8312A#A8312A
#A8312A is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.3% C 0.156 H 27.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A8312A |
|---|---|
| RGB | rgb(168, 49, 42) |
| HSL | hsl(3, 60%, 41%) |
| HSV | hsv(3, 75%, 66%) |
| CMYK | cmyk(0%, 70.8%, 75%, 34.1%) |
| CIE-LAB | lab(39.06, 48.04, 32.42) |
| CIE-LCH | lch(39.06, 57.96, 34.01°) |
| OKLab | oklab(49.31% 0.1385 0.0728) |
| OKLCH | oklch(49.31% 0.156 27.7) |
| XYZ | xyz(17.6667, 10.6913, 3.3234) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.98
Firebrick
#B22222
ΔE00 2.48
Brick
#A03623
ΔE00 3.37
Brownish Red
#9E3623
ΔE00 3.53
Scarlet
#BE0119
ΔE00 4.95
Carmine
#9D0216
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8312A #2AA1A8
analogous
#A82A62 #A8312A #A8702A
triadic
#A8312A #2AA831 #312AA8
tetradic
#A8312A #62A82A #2AA1A8 #702AA8
square
#A8312A #62A82A #2AA1A8 #702AA8
split-complementary
#A8312A #2AA870 #2A62A8
monochromatic
#461412 #77231E #A8312A #CF4840 #DB7771
Accessibility & contrast
On white
6.69
#A8312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#A8312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8312A
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8312A | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#B90430
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a8312a; /* rgb */ color: rgb(168, 49, 42); /* oklch */ color: oklch(49.3% 0.156 27.7);
Tailwind
colors: {
custom: {
50: '#ca7164',
500: '#a8312a',
950: '#000000',
},
}SCSS
$custom: #a8312a; $custom-light: #ca7164; $custom-dark: #000000;
JSON
{
"hex": "#a8312a",
"rgb": {
"r": 168,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.333,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.49307,
"c": 0.15642,
"h": 27.7
},
"luminance": 0.10689
}Semantic roles & 50–950 ramp
primary
#A8312A
secondary
#6BBEC3
accent
#DAE345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A