#AA417B#AA417B

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

Color values

HEX#AA417B
RGBrgb(170, 65, 123)
HSLhsl(327, 45%, 46%)
HSVhsv(327, 62%, 67%)
CMYKcmyk(0%, 61.8%, 27.6%, 33.3%)
CIE-LABlab(43.89, 49.07, -10.87)
CIE-LCHlch(43.89, 50.26, 347.51°)
OKLaboklab(53.61% 0.1487 -0.0284)
OKLCHoklch(53.61% 0.151 349.2)
XYZxyz(22.0439, 13.7589, 20.2298)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA417B #41AA70
analogous
#A441AA #AA417B #AA4146
triadic
#AA417B #7BAA41 #417BAA
tetradic
#AA417B #AAA441 #41AA70 #4146AA
square
#AA417B #AAA441 #41AA70 #4146AA
split-complementary
#AA417B #46AA41 #41AAA4
monochromatic
#511F3B #7E305B #AA417B #C46499 #D591B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA417B#FFFFFF#000000##FFFFFF
##AA417B1.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)
#4E5C7D
Deuteranopia (green-blind)
#6B6F78
Tritanopia (blue-blind)
#B63D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa417b;
/* rgb */ color: rgb(170, 65, 123);
/* oklch */ color: oklch(53.6% 0.151 349.2);
Tailwind
colors: {
  custom: {
    50: '#c77ba1',
    500: '#aa417b',
    950: '#000000',
  },
}
SCSS
$custom: #aa417b;
$custom-light: #c77ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa417b",
  "rgb": {
    "r": 170,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 326.857,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.15136,
    "h": 349.2
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#AA417B
secondary
#87C0A0
accent
#D48D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AA417B

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

Preview Lab → · Contrast checker → · Palette generator →

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