#AA312A#AA312A
#AA312A is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.159 H 27.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AA312A |
|---|---|
| RGB | rgb(170, 49, 42) |
| HSL | hsl(3, 60%, 42%) |
| HSV | hsv(3, 75%, 67%) |
| CMYK | cmyk(0%, 71.2%, 75.3%, 33.3%) |
| CIE-LAB | lab(39.43, 48.71, 32.94) |
| CIE-LCH | lch(39.43, 58.80, 34.07°) |
| OKLab | oklab(49.66% 0.1403 0.0738) |
| OKLCH | oklch(49.66% 0.159 27.7) |
| XYZ | xyz(18.0958, 10.9126, 3.3435) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.24
Firebrick
#B22222
ΔE00 2.26
Brick
#A03623
ΔE00 3.48
Brownish Red
#9E3623
ΔE00 3.69
Scarlet
#BE0119
ΔE00 4.70
Dull Red
#BB3F3F
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA312A #2AA3AA
analogous
#AA2A63 #AA312A #AA712A
triadic
#AA312A #2AAA31 #312AAA
tetradic
#AA312A #63AA2A #2AA3AA #712AAA
square
#AA312A #63AA2A #2AA3AA #712AAA
split-complementary
#AA312A #2AAA71 #2A63AA
monochromatic
#481512 #79231E #AA312A #D04941 #DC7872
Accessibility & contrast
On white
6.60
#AA312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AA312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA312A
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA312A | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#BB0231
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #aa312a; /* rgb */ color: rgb(170, 49, 42); /* oklch */ color: oklch(49.7% 0.159 27.7);
Tailwind
colors: {
custom: {
50: '#cb7164',
500: '#aa312a',
950: '#000000',
},
}SCSS
$custom: #aa312a; $custom-light: #cb7164; $custom-dark: #000000;
JSON
{
"hex": "#aa312a",
"rgb": {
"r": 170,
"g": 49,
"b": 42
},
"hsl": {
"h": 3.281,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.49659,
"c": 0.15853,
"h": 27.7
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#AA312A
secondary
#6CBFC3
accent
#DBE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A