#AA5F91#AA5F91

#AA5F91 is a mid, moderate pink. Relative luminance 0.188; OKLCH L 58.8% C 0.116 H 340.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA5F91
RGBrgb(170, 95, 145)
HSLhsl(320, 31%, 52%)
HSVhsv(320, 44%, 67%)
CMYKcmyk(0%, 44.1%, 14.7%, 33.3%)
CIE-LABlab(50.42, 37.35, -14.23)
CIE-LCHlch(50.42, 39.96, 339.15°)
OKLaboklab(58.76% 0.1097 -0.0379)
OKLCHoklch(58.76% 0.116 340.9)
XYZxyz(25.7808, 18.7765, 29.0489)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5F91 #5FAA78
analogous
#9E5FAA #AA5F91 #AA5F6C
triadic
#AA5F91 #91AA5F #5F91AA
tetradic
#AA5F91 #AA9E5F #5FAA78 #5F6CAA
square
#AA5F91 #AA9E5F #5FAA78 #5F6CAA
split-complementary
#AA5F91 #6CAA5F #5FAA9E
monochromatic
#5D314F #854770 #AA5F91 #BF87AC #D4AFC8

Accessibility & contrast

On white

4.42
#AA5F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA5F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5F91
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5F91#FFFFFF#000000##000000
##AA5F911.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#637193
Deuteranopia (green-blind)
#767C8F
Tritanopia (blue-blind)
#B26072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa5f91;
/* rgb */ color: rgb(170, 95, 145);
/* oklch */ color: oklch(58.8% 0.116 340.9);
Tailwind
colors: {
  custom: {
    50: '#c58eb1',
    500: '#aa5f91',
    950: '#000000',
  },
}
SCSS
$custom: #aa5f91;
$custom-light: #c58eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5f91",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 320,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.1161,
    "h": 340.9
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#AA5F91
secondary
#A2C3AD
accent
#C78361
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AA5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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