#AA5040#AA5040

#AA5040 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.1% C 0.122 H 31.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA5040
RGBrgb(170, 80, 64)
HSLhsl(9, 45%, 46%)
HSVhsv(9, 62%, 67%)
CMYKcmyk(0%, 52.9%, 62.4%, 33.3%)
CIE-LABlab(45.16, 35.62, 26.86)
CIE-LCHlch(45.16, 44.61, 37.02°)
OKLaboklab(54.08% 0.1037 0.064)
OKLCHoklch(54.08% 0.122 31.7)
XYZxyz(20.3734, 14.6560, 6.6055)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5040 #409AAA
analogous
#AA4065 #AA5040 #AA8540
triadic
#AA5040 #40AA50 #5040AA
tetradic
#AA5040 #65AA40 #409AAA #8540AA
square
#AA5040 #65AA40 #409AAA #8540AA
split-complementary
#AA5040 #40AA85 #4065AA
monochromatic
#51261F #7E3B2F #AA5040 #C47263 #D59A8F

Accessibility & contrast

On white

5.34
#AA5040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AA5040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5040
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5040#FFFFFF#000000##FFFFFF
##AA50401.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3E
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#BA404C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa5040;
/* rgb */ color: rgb(170, 80, 64);
/* oklch */ color: oklch(54.1% 0.122 31.7);
Tailwind
colors: {
  custom: {
    50: '#c98375',
    500: '#aa5040',
    950: '#000000',
  },
}
SCSS
$custom: #aa5040;
$custom-light: #c98375;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5040",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 9.057,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.12189,
    "h": 31.7
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#AA5040
secondary
#86B7C0
accent
#C1D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AA5040

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

Preview Lab → · Contrast checker → · Palette generator →

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