#AA4040#AA4040

#AA4040 is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.8% C 0.140 H 23.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA4040
RGBrgb(170, 64, 64)
HSLhsl(0, 45%, 46%)
HSVhsv(0, 62%, 67%)
CMYKcmyk(0%, 62.4%, 62.4%, 33.3%)
CIE-LABlab(42.13, 43.51, 23.03)
CIE-LCHlch(42.13, 49.23, 27.90°)
OKLaboklab(51.79% 0.1284 0.0554)
OKLCHoklch(51.79% 0.14 23.3)
XYZxyz(19.3382, 12.5856, 6.2604)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4040 #40AAAA
analogous
#AA4075 #AA4040 #AA7540
triadic
#AA4040 #40AA40 #4040AA
tetradic
#AA4040 #75AA40 #40AAAA #7540AA
square
#AA4040 #75AA40 #40AAAA #7540AA
split-complementary
#AA4040 #40AA75 #4075AA
monochromatic
#511F1F #7E2F2F #AA4040 #C46363 #D58F8F

Accessibility & contrast

On white

5.97
#AA4040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA4040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4040
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4040#FFFFFF#000000##FFFFFF
##AA40401.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553F
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#BA2B41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa4040;
/* rgb */ color: rgb(170, 64, 64);
/* oklch */ color: oklch(51.8% 0.140 23.3);
Tailwind
colors: {
  custom: {
    50: '#c97a74',
    500: '#aa4040',
    950: '#000000',
  },
}
SCSS
$custom: #aa4040;
$custom-light: #c97a74;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4040",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.13985,
    "h": 23.3
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#AA4040
secondary
#86C0C0
accent
#D5D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AA4040

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

Preview Lab → · Contrast checker → · Palette generator →

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