#AA5B97#AA5B97

#AA5B97 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.4% C 0.128 H 336.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA5B97
RGBrgb(170, 91, 151)
HSLhsl(314, 32%, 51%)
HSVhsv(314, 46%, 67%)
CMYKcmyk(0%, 46.5%, 11.2%, 33.3%)
CIE-LABlab(49.81, 40.49, -18.71)
CIE-LCHlch(49.81, 44.60, 335.20°)
OKLaboklab(58.37% 0.1176 -0.0503)
OKLCHoklch(58.37% 0.128 336.8)
XYZxyz(25.9046, 18.2642, 31.4331)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5B97 #5BAA6E
analogous
#955BAA #AA5B97 #AA5B6F
triadic
#AA5B97 #97AA5B #5B97AA
tetradic
#AA5B97 #AA955B #5BAA6E #5B6FAA
square
#AA5B97 #AA955B #5BAA6E #5B6FAA
split-complementary
#AA5B97 #6FAA5B #5BAA95
monochromatic
#5B2F51 #844474 #AA5B97 #BF83B1 #D4ACCA

Accessibility & contrast

On white

4.51
#AA5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AA5B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5B97
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5B97#FFFFFF#000000##000000
##AA5B971.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#727B95
Tritanopia (blue-blind)
#B15E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa5b97;
/* rgb */ color: rgb(170, 91, 151);
/* oklch */ color: oklch(58.4% 0.128 336.8);
Tailwind
colors: {
  custom: {
    50: '#c58cb5',
    500: '#aa5b97',
    950: '#000000',
  },
}
SCSS
$custom: #aa5b97;
$custom-light: #c58cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5b97",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 314.43,
    "s": 31.727,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.12795,
    "h": 336.8
  },
  "luminance": 0.18263
}

Semantic roles & 50–950 ramp

primary
#AA5B97
secondary
#9FC2A7
accent
#C87960
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AA5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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