#AA4087#AA4087

#AA4087 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.160 H 342.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AA4087
RGBrgb(170, 64, 135)
HSLhsl(320, 45%, 46%)
HSVhsv(320, 62%, 67%)
CMYKcmyk(0%, 62.4%, 20.6%, 33.3%)
CIE-LABlab(44.18, 51.20, -17.74)
CIE-LCHlch(44.18, 54.19, 340.89°)
OKLaboklab(53.98% 0.1531 -0.0474)
OKLCHoklch(53.98% 0.16 342.8)
XYZxyz(22.7848, 13.9642, 24.4123)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4087 #40AA63
analogous
#9840AA #AA4087 #AA4052
triadic
#AA4087 #87AA40 #4087AA
tetradic
#AA4087 #AA9840 #40AA63 #4052AA
square
#AA4087 #AA9840 #40AA63 #4052AA
split-complementary
#AA4087 #52AA40 #40AA98
monochromatic
#511F40 #7E2F64 #AA4087 #C463A4 #D58FBE

Accessibility & contrast

On white

5.54
#AA4087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AA4087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4087
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4087#FFFFFF#000000##FFFFFF
##AA40871.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#B4405E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa4087;
/* rgb */ color: rgb(170, 64, 135);
/* oklch */ color: oklch(54.0% 0.160 342.8);
Tailwind
colors: {
  custom: {
    50: '#c67baa',
    500: '#aa4087',
    950: '#000000',
  },
}
SCSS
$custom: #aa4087;
$custom-light: #c67baa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4087",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 319.811,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.16026,
    "h": 342.8
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#AA4087
secondary
#86C099
accent
#D57E53
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA4087

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

Preview Lab → · Contrast checker → · Palette generator →

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