#AA407E#AA407E

#AA407E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.6% C 0.155 H 347.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AA407E
RGBrgb(170, 64, 126)
HSLhsl(325, 45%, 46%)
HSVhsv(325, 62%, 67%)
CMYKcmyk(0%, 62.4%, 25.9%, 33.3%)
CIE-LABlab(43.83, 49.93, -12.79)
CIE-LCHlch(43.83, 51.54, 345.63°)
OKLaboklab(53.61% 0.1509 -0.0337)
OKLCHoklch(53.61% 0.155 347.4)
XYZxyz(22.1777, 13.7214, 21.2151)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA407E #40AA6C
analogous
#A140AA #AA407E #AA4049
triadic
#AA407E #7EAA40 #407EAA
tetradic
#AA407E #AAA140 #40AA6C #4049AA
square
#AA407E #AAA140 #40AA6C #4049AA
split-complementary
#AA407E #49AA40 #40AAA1
monochromatic
#511F3C #7E2F5D #AA407E #C4639C #D58FB8

Accessibility & contrast

On white

5.61
#AA407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA407E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA407E#FFFFFF#000000##FFFFFF
##AA407E1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#B53D59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa407e;
/* rgb */ color: rgb(170, 64, 126);
/* oklch */ color: oklch(53.6% 0.155 347.4);
Tailwind
colors: {
  custom: {
    50: '#c77ba3',
    500: '#aa407e',
    950: '#000000',
  },
}
SCSS
$custom: #aa407e;
$custom-light: #c77ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa407e",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 324.906,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.15458,
    "h": 347.4
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#AA407E
secondary
#86C09E
accent
#D58953
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AA407E

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

Preview Lab → · Contrast checker → · Palette generator →

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