#AA1F20#AA1F20

#AA1F20 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.174 H 26.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AA1F20
RGBrgb(170, 31, 32)
HSLhsl(360, 69%, 39%)
HSVhsv(360, 82%, 67%)
CMYKcmyk(0%, 81.8%, 81.2%, 33.3%)
CIE-LABlab(37.18, 54.32, 36.29)
CIE-LCHlch(37.18, 65.33, 33.75°)
OKLaboklab(47.94% 0.1559 0.0781)
OKLCHoklch(47.94% 0.174 26.6)
XYZxyz(17.3304, 9.6331, 2.3131)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F20 #1FAAA9
analogous
#AA1F66 #AA1F20 #AA631F
triadic
#AA1F20 #20AA1F #1F20AA
tetradic
#AA1F20 #66AA1F #1FAAA9 #631FAA
square
#AA1F20 #66AA1F #1FAAA9 #631FAA
split-complementary
#AA1F20 #1FAA63 #1F66AA
monochromatic
#420C0D #761616 #AA1F20 #D92D2F #E26162

Accessibility & contrast

On white

7.18
#AA1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#AA1F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA1F20
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F20#FFFFFF#000000##FFFFFF
##AA1F201.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441E
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#BC0022
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #aa1f20;
/* rgb */ color: rgb(170, 31, 32);
/* oklch */ color: oklch(47.9% 0.174 26.6);
Tailwind
colors: {
  custom: {
    50: '#cd695c',
    500: '#aa1f20',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f20;
$custom-light: #cd695c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f20",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.568,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.17436,
    "h": 26.6
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#AA1F20
secondary
#5EC7C6
accent
#ECEB3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #AA1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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