#AA408F#AA408F

#AA408F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.166 H 339.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AA408F
RGBrgb(170, 64, 143)
HSLhsl(315, 45%, 46%)
HSVhsv(315, 62%, 67%)
CMYKcmyk(0%, 62.4%, 15.9%, 33.3%)
CIE-LABlab(44.52, 52.39, -22.07)
CIE-LCHlch(44.52, 56.85, 337.16°)
OKLaboklab(54.34% 0.1548 -0.0595)
OKLCHoklch(54.34% 0.166 339)
XYZxyz(23.3693, 14.1980, 27.4910)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA408F #40AA5B
analogous
#9040AA #AA408F #AA405A
triadic
#AA408F #8FAA40 #408FAA
tetradic
#AA408F #AA9040 #40AA5B #405AAA
square
#AA408F #AA9040 #40AA5B #405AAA
split-complementary
#AA408F #5AAA40 #40AA90
monochromatic
#511F44 #7E2F6A #AA408F #C463AB #D58FC3

Accessibility & contrast

On white

5.47
#AA408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AA408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA408F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA408F#FFFFFF#000000##FFFFFF
##AA408F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#B34361
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa408f;
/* rgb */ color: rgb(170, 64, 143);
/* oklch */ color: oklch(54.3% 0.166 339.0);
Tailwind
colors: {
  custom: {
    50: '#c67bb0',
    500: '#aa408f',
    950: '#000000',
  },
}
SCSS
$custom: #aa408f;
$custom-light: #c67bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa408f",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 315.283,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54337,
    "c": 0.16582,
    "h": 339
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#AA408F
secondary
#86C095
accent
#D57453
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA408F

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

Preview Lab → · Contrast checker → · Palette generator →

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