#AA508E#AA508E

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

Color values

HEX#AA508E
RGBrgb(170, 80, 142)
HSLhsl(319, 36%, 49%)
HSVhsv(319, 53%, 67%)
CMYKcmyk(0%, 52.9%, 16.5%, 33.3%)
CIE-LABlab(47.29, 44.69, -17.21)
CIE-LCHlch(47.29, 47.89, 338.93°)
OKLaboklab(56.37% 0.132 -0.046)
OKLCHoklch(56.37% 0.14 340.8)
XYZxyz(24.3291, 16.2382, 27.4389)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA508E #50AA6C
analogous
#9950AA #AA508E #AA5061
triadic
#AA508E #8EAA50 #508EAA
tetradic
#AA508E #AA9950 #50AA6C #5061AA
square
#AA508E #AA9950 #50AA6C #5061AA
split-complementary
#AA508E #61AA50 #50AA99
monochromatic
#572948 #803C6B #AA508E #BF78A9 #D3A1C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA508E#FFFFFF#000000##FFFFFF
##AA508E1.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)
#556790
Deuteranopia (green-blind)
#6E758C
Tritanopia (blue-blind)
#B35168
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa508e;
/* rgb */ color: rgb(170, 80, 142);
/* oklch */ color: oklch(56.4% 0.140 340.8);
Tailwind
colors: {
  custom: {
    50: '#c585af',
    500: '#aa508e',
    950: '#000000',
  },
}
SCSS
$custom: #aa508e;
$custom-light: #c585af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa508e",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 318.667,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.13984,
    "h": 340.8
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#AA508E
secondary
#96C0A3
accent
#CC7F5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA508E

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

Preview Lab → · Contrast checker → · Palette generator →

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