#AA508B#AA508B

#AA508B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.2% C 0.138 H 342.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA508B
RGBrgb(170, 80, 139)
HSLhsl(321, 36%, 49%)
HSVhsv(321, 53%, 67%)
CMYKcmyk(0%, 52.9%, 18.2%, 33.3%)
CIE-LABlab(47.17, 44.21, -15.59)
CIE-LCHlch(47.17, 46.88, 340.57°)
OKLaboklab(56.25% 0.1313 -0.0415)
OKLCHoklch(56.25% 0.138 342.4)
XYZxyz(24.1069, 16.1494, 26.2686)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA508B #50AA6F
analogous
#9C50AA #AA508B #AA505E
triadic
#AA508B #8BAA50 #508BAA
tetradic
#AA508B #AA9C50 #50AA6F #505EAA
square
#AA508B #AA9C50 #50AA6F #505EAA
split-complementary
#AA508B #5EAA50 #50AA9C
monochromatic
#572947 #803C69 #AA508B #BF78A7 #D3A1C2

Accessibility & contrast

On white

4.97
#AA508B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AA508B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA508B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA508B#FFFFFF#000000##FFFFFF
##AA508B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#6F7589
Tritanopia (blue-blind)
#B35167
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa508b;
/* rgb */ color: rgb(170, 80, 139);
/* oklch */ color: oklch(56.2% 0.138 342.4);
Tailwind
colors: {
  custom: {
    50: '#c685ad',
    500: '#aa508b',
    950: '#000000',
  },
}
SCSS
$custom: #aa508b;
$custom-light: #c685ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa508b",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 320.667,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.13768,
    "h": 342.4
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#AA508B
secondary
#96C0A4
accent
#CC825C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA508B

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

Preview Lab → · Contrast checker → · Palette generator →

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