#AA5F8A#AA5F8A

#AA5F8A is a mid, moderate pink. Relative luminance 0.186; OKLCH L 58.5% C 0.111 H 345.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AA5F8A
RGBrgb(170, 95, 138)
HSLhsl(326, 31%, 52%)
HSVhsv(326, 44%, 67%)
CMYKcmyk(0%, 44.1%, 18.8%, 33.3%)
CIE-LABlab(50.18, 36.21, -10.45)
CIE-LCHlch(50.18, 37.69, 343.91°)
OKLaboklab(58.49% 0.1076 -0.0275)
OKLCHoklch(58.49% 0.111 345.7)
XYZxyz(25.2576, 18.5672, 26.2933)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5F8A #5FAA7F
analogous
#A55FAA #AA5F8A #AA5F65
triadic
#AA5F8A #8AAA5F #5F8AAA
tetradic
#AA5F8A #AAA55F #5FAA7F #5F65AA
square
#AA5F8A #AAA55F #5FAA7F #5F65AA
split-complementary
#AA5F8A #65AA5F #5FAAA5
monochromatic
#5D314B #85476A #AA5F8A #BF87A7 #D4AFC4

Accessibility & contrast

On white

4.46
#AA5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AA5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5F8A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5F8A#FFFFFF#000000##000000
##AA5F8A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#787C88
Tritanopia (blue-blind)
#B35E6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa5f8a;
/* rgb */ color: rgb(170, 95, 138);
/* oklch */ color: oklch(58.5% 0.111 345.7);
Tailwind
colors: {
  custom: {
    50: '#c58eac',
    500: '#aa5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa5f8a;
$custom-light: #c58eac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5f8a",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 325.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.11107,
    "h": 345.7
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#AA5F8A
secondary
#A2C3B0
accent
#C78C61
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AA5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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