#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
RGBrgb(170, 49, 42)
HSLhsl(3, 60%, 42%)
HSVhsv(3, 75%, 67%)
CMYKcmyk(0%, 71.2%, 75.3%, 33.3%)
CIE-LABlab(39.43, 48.71, 32.94)
CIE-LCHlch(39.43, 58.80, 34.07°)
OKLaboklab(49.66% 0.1403 0.0738)
OKLCHoklch(49.66% 0.159 27.7)
XYZxyz(18.0958, 10.9126, 3.3435)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##AA312A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.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

Preview Lab

Preview with #AA312A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA312A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva