#AA508F#AA508F

#AA508F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.4% C 0.141 H 340.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA508F
RGBrgb(170, 80, 143)
HSLhsl(318, 36%, 49%)
HSVhsv(318, 53%, 67%)
CMYKcmyk(0%, 52.9%, 15.9%, 33.3%)
CIE-LABlab(47.32, 44.84, -17.75)
CIE-LCHlch(47.32, 48.23, 338.40°)
OKLaboklab(56.41% 0.1323 -0.0476)
OKLCHoklch(56.41% 0.141 340.2)
XYZxyz(24.4045, 16.2684, 27.8360)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA508F #50AA6B
analogous
#9850AA #AA508F #AA5062
triadic
#AA508F #8FAA50 #508FAA
tetradic
#AA508F #AA9850 #50AA6B #5062AA
square
#AA508F #AA9850 #50AA6B #5062AA
split-complementary
#AA508F #62AA50 #50AA98
monochromatic
#572949 #803C6C #AA508F #BF78AA #D3A1C4

Accessibility & contrast

On white

4.94
#AA508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA508F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA508F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA508F#FFFFFF#000000##FFFFFF
##AA508F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#6D768D
Tritanopia (blue-blind)
#B35269
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa508f;
/* rgb */ color: rgb(170, 80, 143);
/* oklch */ color: oklch(56.4% 0.141 340.2);
Tailwind
colors: {
  custom: {
    50: '#c585b0',
    500: '#aa508f',
    950: '#000000',
  },
}
SCSS
$custom: #aa508f;
$custom-light: #c585b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa508f",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 318,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.14058,
    "h": 340.2
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#AA508F
secondary
#96C0A2
accent
#CC7D5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA508F

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

Preview Lab → · Contrast checker → · Palette generator →

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