#AA5C97#AA5C97

#AA5C97 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.5% C 0.126 H 336.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AA5C97
RGBrgb(170, 92, 151)
HSLhsl(315, 31%, 51%)
HSVhsv(315, 46%, 67%)
CMYKcmyk(0%, 45.9%, 11.2%, 33.3%)
CIE-LABlab(50.02, 39.96, -18.39)
CIE-LCHlch(50.02, 43.99, 335.29°)
OKLaboklab(58.53% 0.1161 -0.0495)
OKLCHoklch(58.53% 0.126 336.9)
XYZxyz(25.9907, 18.4364, 31.4618)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5C97 #5CAA6F
analogous
#965CAA #AA5C97 #AA5C70
triadic
#AA5C97 #97AA5C #5C97AA
tetradic
#AA5C97 #AA965C #5CAA6F #5C70AA
square
#AA5C97 #AA965C #5CAA6F #5C70AA
split-complementary
#AA5C97 #70AA5C #5CAA96
monochromatic
#5C3051 #844575 #AA5C97 #BF84B1 #D4ACCA

Accessibility & contrast

On white

4.48
#AA5C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AA5C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5C97
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5C97#FFFFFF#000000##000000
##AA5C971.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7099
Deuteranopia (green-blind)
#727B95
Tritanopia (blue-blind)
#B15F73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa5c97;
/* rgb */ color: rgb(170, 92, 151);
/* oklch */ color: oklch(58.5% 0.126 336.9);
Tailwind
colors: {
  custom: {
    50: '#c58cb5',
    500: '#aa5c97',
    950: '#000000',
  },
}
SCSS
$custom: #aa5c97;
$custom-light: #c58cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5c97",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 314.615,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.1262,
    "h": 336.9
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#AA5C97
secondary
#A0C2A8
accent
#C87960
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AA5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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