#AA408E#AA408E

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

Color values

HEX#AA408E
RGBrgb(170, 64, 142)
HSLhsl(316, 45%, 46%)
HSVhsv(316, 62%, 67%)
CMYKcmyk(0%, 62.4%, 16.5%, 33.3%)
CIE-LABlab(44.47, 52.24, -21.53)
CIE-LCHlch(44.47, 56.51, 337.60°)
OKLaboklab(54.29% 0.1546 -0.058)
OKLCHoklch(54.29% 0.165 339.4)
XYZxyz(23.2939, 14.1678, 27.0938)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA408E #40AA5C
analogous
#9140AA #AA408E #AA4059
triadic
#AA408E #8EAA40 #408EAA
tetradic
#AA408E #AA9140 #40AA5C #4059AA
square
#AA408E #AA9140 #40AA5C #4059AA
split-complementary
#AA408E #59AA40 #40AA91
monochromatic
#511F44 #7E2F69 #AA408E #C463AB #D58FC3

Accessibility & contrast

On white

5.48
#AA408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AA408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA408E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA408E#FFFFFF#000000##FFFFFF
##AA408E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa408e;
/* rgb */ color: rgb(170, 64, 142);
/* oklch */ color: oklch(54.3% 0.165 339.4);
Tailwind
colors: {
  custom: {
    50: '#c67baf',
    500: '#aa408e',
    950: '#000000',
  },
}
SCSS
$custom: #aa408e;
$custom-light: #c67baf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa408e",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 315.849,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.16511,
    "h": 339.4
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA408E

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

Preview Lab → · Contrast checker → · Palette generator →

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