#AA2222#AA2222

#AA2222 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.172 H 26.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AA2222
RGBrgb(170, 34, 34)
HSLhsl(0, 67%, 40%)
HSVhsv(0, 80%, 67%)
CMYKcmyk(0%, 80%, 80%, 33.3%)
CIE-LABlab(37.50, 53.54, 35.48)
CIE-LCHlch(37.50, 64.23, 33.53°)
OKLaboklab(48.19% 0.1538 0.077)
OKLCHoklch(48.19% 0.172 26.6)
XYZxyz(17.4405, 9.8084, 2.4880)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2222 #22AAAA
analogous
#AA2266 #AA2222 #AA6622
triadic
#AA2222 #22AA22 #2222AA
tetradic
#AA2222 #66AA22 #22AAAA #6622AA
square
#AA2222 #66AA22 #22AAAA #6622AA
split-complementary
#AA2222 #22AA66 #2266AA
monochromatic
#440E0E #771818 #AA2222 #D63333 #E06666

Accessibility & contrast

On white

7.09
#AA2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#AA2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA2222
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2222#FFFFFF#000000##FFFFFF
##AA22221.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4520
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#BC0024
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #aa2222;
/* rgb */ color: rgb(170, 34, 34);
/* oklch */ color: oklch(48.2% 0.172 26.6);
Tailwind
colors: {
  custom: {
    50: '#cd6b5e',
    500: '#aa2222',
    950: '#000000',
  },
}
SCSS
$custom: #aa2222;
$custom-light: #cd6b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2222",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.17204,
    "h": 26.6
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#AA2222
secondary
#62C6C6
accent
#EAEA3E
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #AA2222

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

Preview Lab → · Contrast checker → · Palette generator →

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