#AA4987#AA4987

#AA4987 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.146 H 343.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA4987
RGBrgb(170, 73, 135)
HSLhsl(322, 40%, 48%)
HSVhsv(322, 57%, 67%)
CMYKcmyk(0%, 57.1%, 20.6%, 33.3%)
CIE-LABlab(45.72, 47.05, -15.39)
CIE-LCHlch(45.72, 49.50, 341.88°)
OKLaboklab(55.12% 0.1405 -0.0409)
OKLCHoklch(55.12% 0.146 343.8)
XYZxyz(23.3339, 15.0624, 24.5954)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4987 #49AA6C
analogous
#9C49AA #AA4987 #AA4957
triadic
#AA4987 #87AA49 #4987AA
tetradic
#AA4987 #AA9C49 #49AA6C #4957AA
square
#AA4987 #AA9C49 #49AA6C #4957AA
split-complementary
#AA4987 #57AA49 #49AA9C
monochromatic
#542443 #7F3765 #AA4987 #C16FA4 #D49ABF

Accessibility & contrast

On white

5.23
#AA4987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AA4987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4987
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4987#FFFFFF#000000##FFFFFF
##AA49871.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#6C7285
Tritanopia (blue-blind)
#B44962
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa4987;
/* rgb */ color: rgb(170, 73, 135);
/* oklch */ color: oklch(55.1% 0.146 343.8);
Tailwind
colors: {
  custom: {
    50: '#c680aa',
    500: '#aa4987',
    950: '#000000',
  },
}
SCSS
$custom: #aa4987;
$custom-light: #c680aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4987",
  "rgb": {
    "r": 170,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 321.649,
    "s": 39.918,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.14638,
    "h": 343.8
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#AA4987
secondary
#8FC0A1
accent
#D08358
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA4987

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

Preview Lab → · Contrast checker → · Palette generator →

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