#AA407F#AA407F

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

Color values

HEX#AA407F
RGBrgb(170, 64, 127)
HSLhsl(324, 45%, 46%)
HSVhsv(324, 62%, 67%)
CMYKcmyk(0%, 62.4%, 25.3%, 33.3%)
CIE-LABlab(43.87, 50.07, -13.34)
CIE-LCHlch(43.87, 51.81, 345.08°)
OKLaboklab(53.65% 0.1511 -0.0352)
OKLCHoklch(53.65% 0.155 346.9)
XYZxyz(22.2425, 13.7473, 21.5566)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA407F #40AA6B
analogous
#A040AA #AA407F #AA404A
triadic
#AA407F #7FAA40 #407FAA
tetradic
#AA407F #AAA040 #40AA6B #404AAA
square
#AA407F #AAA040 #40AA6B #404AAA
split-complementary
#AA407F #4AAA40 #40AAA0
monochromatic
#511F3D #7E2F5E #AA407F #C4639D #D58FB9

Accessibility & contrast

On white

5.60
#AA407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AA407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA407F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA407F#FFFFFF#000000##FFFFFF
##AA407F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#B53E5A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa407f;
/* rgb */ color: rgb(170, 64, 127);
/* oklch */ color: oklch(53.6% 0.155 346.9);
Tailwind
colors: {
  custom: {
    50: '#c67ba4',
    500: '#aa407f',
    950: '#000000',
  },
}
SCSS
$custom: #aa407f;
$custom-light: #c67ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa407f",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 324.34,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.15518,
    "h": 346.9
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#AA407F
secondary
#86C09D
accent
#D58853
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AA407F

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

Preview Lab → · Contrast checker → · Palette generator →

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