#AA2021#AA2021

#AA2021 is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.174 H 26.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AA2021
RGBrgb(170, 32, 33)
HSLhsl(360, 68%, 40%)
HSVhsv(360, 81%, 67%)
CMYKcmyk(0%, 81.2%, 80.6%, 33.3%)
CIE-LABlab(37.28, 54.08, 35.83)
CIE-LCHlch(37.28, 64.87, 33.53°)
OKLaboklab(48.03% 0.1553 0.0775)
OKLCHoklch(48.03% 0.174 26.5)
XYZxyz(17.3707, 9.6917, 2.3946)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2021 #20AAA9
analogous
#AA2066 #AA2021 #AA6420
triadic
#AA2021 #21AA20 #2021AA
tetradic
#AA2021 #66AA20 #20AAA9 #6420AA
square
#AA2021 #66AA20 #20AAA9 #6420AA
split-complementary
#AA2021 #20AA64 #2066AA
monochromatic
#430D0D #761617 #AA2021 #D82F31 #E26364

Accessibility & contrast

On white

7.15
#AA2021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#AA2021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA2021
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2021#FFFFFF#000000##FFFFFF
##AA20211.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451F
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#BC0023
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #aa2021;
/* rgb */ color: rgb(170, 32, 33);
/* oklch */ color: oklch(48.0% 0.174 26.5);
Tailwind
colors: {
  custom: {
    50: '#cd6a5d',
    500: '#aa2021',
    950: '#000000',
  },
}
SCSS
$custom: #aa2021;
$custom-light: #cd6a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2021",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.565,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.17356,
    "h": 26.5
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#AA2021
secondary
#5FC7C6
accent
#EBEA3D
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #AA2021

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

Preview Lab → · Contrast checker → · Palette generator →

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