#AA4E87#AA4E87

#AA4E87 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.8% C 0.138 H 344.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA4E87
RGBrgb(170, 78, 135)
HSLhsl(323, 37%, 49%)
HSVhsv(323, 54%, 67%)
CMYKcmyk(0%, 54.1%, 20.6%, 33.3%)
CIE-LABlab(46.64, 44.60, -13.99)
CIE-LCHlch(46.64, 46.74, 342.58°)
OKLaboklab(55.8% 0.1332 -0.0371)
OKLCHoklch(55.8% 0.138 344.4)
XYZxyz(23.6757, 15.7461, 24.7093)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E87 #4EAA71
analogous
#9F4EAA #AA4E87 #AA4E59
triadic
#AA4E87 #87AA4E #4E87AA
tetradic
#AA4E87 #AA9F4E #4EAA71 #4E59AA
square
#AA4E87 #AA9F4E #4EAA71 #4E59AA
split-complementary
#AA4E87 #59AA4E #4EAA9F
monochromatic
#562844 #803B66 #AA4E87 #C075A4 #D39FBF

Accessibility & contrast

On white

5.06
#AA4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AA4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E87
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E87#FFFFFF#000000##FFFFFF
##AA4E871.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556589
Deuteranopia (green-blind)
#6F7485
Tritanopia (blue-blind)
#B44D64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa4e87;
/* rgb */ color: rgb(170, 78, 135);
/* oklch */ color: oklch(55.8% 0.138 344.4);
Tailwind
colors: {
  custom: {
    50: '#c683aa',
    500: '#aa4e87',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e87;
$custom-light: #c683aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e87",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 322.826,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.13825,
    "h": 344.4
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#AA4E87
secondary
#94C0A5
accent
#CD865B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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