#AA407B#AA407B

#AA407B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.5% C 0.153 H 349.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA407B
RGBrgb(170, 64, 123)
HSLhsl(327, 45%, 46%)
HSVhsv(327, 62%, 67%)
CMYKcmyk(0%, 62.4%, 27.6%, 33.3%)
CIE-LABlab(43.72, 49.52, -11.12)
CIE-LCHlch(43.72, 50.76, 347.34°)
OKLaboklab(53.49% 0.1501 -0.0291)
OKLCHoklch(53.49% 0.153 349)
XYZxyz(21.9870, 13.6451, 20.2109)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA407B #40AA6F
analogous
#A440AA #AA407B #AA4046
triadic
#AA407B #7BAA40 #407BAA
tetradic
#AA407B #AAA440 #40AA6F #4046AA
square
#AA407B #AAA440 #40AA6F #4046AA
split-complementary
#AA407B #46AA40 #40AAA4
monochromatic
#511F3B #7E2F5B #AA407B #C46399 #D58FB6

Accessibility & contrast

On white

5.63
#AA407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA407B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA407B#FFFFFF#000000##FFFFFF
##AA407B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7D
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#B63C58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa407b;
/* rgb */ color: rgb(170, 64, 123);
/* oklch */ color: oklch(53.5% 0.153 349.0);
Tailwind
colors: {
  custom: {
    50: '#c77ba1',
    500: '#aa407b',
    950: '#000000',
  },
}
SCSS
$custom: #aa407b;
$custom-light: #c77ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa407b",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 326.604,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.15284,
    "h": 349
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#AA407B
secondary
#86C0A0
accent
#D58D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AA407B

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

Preview Lab → · Contrast checker → · Palette generator →

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