#AA5162#AA5162

#AA5162 is a mid, moderate red. Relative luminance 0.153; OKLCH L 55.0% C 0.118 H 9.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA5162
RGBrgb(170, 81, 98)
HSLhsl(349, 35%, 49%)
HSVhsv(349, 52%, 67%)
CMYKcmyk(0%, 52.4%, 42.4%, 33.3%)
CIE-LABlab(46.06, 38.20, 7.61)
CIE-LCHlch(46.06, 38.95, 11.27°)
OKLaboklab(54.99% 0.1159 0.0199)
OKLCHoklch(54.99% 0.118 9.8)
XYZxyz(21.7259, 15.3150, 13.3648)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5162 #51AA99
analogous
#AA518F #AA5162 #AA6D51
triadic
#AA5162 #62AA51 #5162AA
tetradic
#AA5162 #8FAA51 #51AA99 #6D51AA
square
#AA5162 #8FAA51 #51AA99 #6D51AA
split-complementary
#AA5162 #51AA6D #518FAA
monochromatic
#572A32 #813D4A #AA5162 #BF7986 #D3A2AC

Accessibility & contrast

On white

5.17
#AA5162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AA5162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5162
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5162#FFFFFF#000000##FFFFFF
##AA51621.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626262
Deuteranopia (green-blind)
#797460
Tritanopia (blue-blind)
#B84757
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa5162;
/* rgb */ color: rgb(170, 81, 98);
/* oklch */ color: oklch(55.0% 0.118 9.8);
Tailwind
colors: {
  custom: {
    50: '#c7848e',
    500: '#aa5162',
    950: '#000000',
  },
}
SCSS
$custom: #aa5162;
$custom-light: #c7848e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5162",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 348.539,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.1176,
    "h": 9.8
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#AA5162
secondary
#97C0B8
accent
#CBB65C
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#130B0C
muted
#827C7D

Preview Lab

Preview with #AA5162

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

Preview Lab → · Contrast checker → · Palette generator →

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