#AA408B#AA408B

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

Color values

HEX#AA408B
RGBrgb(170, 64, 139)
HSLhsl(318, 45%, 46%)
HSVhsv(318, 62%, 67%)
CMYKcmyk(0%, 62.4%, 18.2%, 33.3%)
CIE-LABlab(44.35, 51.79, -19.91)
CIE-LCHlch(44.35, 55.49, 338.97°)
OKLaboklab(54.16% 0.154 -0.0534)
OKLCHoklch(54.16% 0.163 340.9)
XYZxyz(23.0717, 14.0790, 25.9235)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA408B #40AA5F
analogous
#9440AA #AA408B #AA4056
triadic
#AA408B #8BAA40 #408BAA
tetradic
#AA408B #AA9440 #40AA5F #4056AA
square
#AA408B #AA9440 #40AA5F #4056AA
split-complementary
#AA408B #56AA40 #40AA94
monochromatic
#511F42 #7E2F67 #AA408B #C463A8 #D58FC1

Accessibility & contrast

On white

5.50
#AA408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AA408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA408B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA408B#FFFFFF#000000##FFFFFF
##AA408B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#B44260
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa408b;
/* rgb */ color: rgb(170, 64, 139);
/* oklch */ color: oklch(54.2% 0.163 340.9);
Tailwind
colors: {
  custom: {
    50: '#c67bad',
    500: '#aa408b',
    950: '#000000',
  },
}
SCSS
$custom: #aa408b;
$custom-light: #c67bad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa408b",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 317.547,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.16298,
    "h": 340.9
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#AA408B
secondary
#86C097
accent
#D57953
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA408B

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

Preview Lab → · Contrast checker → · Palette generator →

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