#AA87A2#AA87A2

#AA87A2 is a light, muted pink. Relative luminance 0.285; OKLCH L 66.5% C 0.057 H 334.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AA87A2
RGBrgb(170, 135, 162)
HSLhsl(314, 17%, 60%)
HSVhsv(314, 21%, 67%)
CMYKcmyk(0%, 20.6%, 4.7%, 33.3%)
CIE-LABlab(60.32, 17.99, -9.22)
CIE-LCHlch(60.32, 20.22, 332.87°)
OKLaboklab(66.49% 0.0511 -0.0245)
OKLCHoklch(66.49% 0.057 334.4)
XYZxyz(31.7626, 28.4835, 38.0001)
Luminance0.2848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87A2 #87AA8F
analogous
#A087AA #AA87A2 #AA8791
triadic
#AA87A2 #A2AA87 #87A2AA
tetradic
#AA87A2 #AAA087 #87AA8F #8791AA
square
#AA87A2 #AAA087 #87AA8F #8791AA
split-complementary
#AA87A2 #91AA87 #87AAA0
monochromatic
#6B4C64 #8F6585 #AA87A2 #C3ABBE #DDCFDA

Accessibility & contrast

On white

3.14
#AA87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AA87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87A2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87A2#FFFFFF#000000##000000
##AA87A21.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#8F93A1
Tritanopia (blue-blind)
#AE8890
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa87a2;
/* rgb */ color: rgb(170, 135, 162);
/* oklch */ color: oklch(66.5% 0.057 334.4);
Tailwind
colors: {
  custom: {
    50: '#c3aabd',
    500: '#aa87a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa87a2;
$custom-light: #c3aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87a2",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 313.714,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.05666,
    "h": 334.4
  },
  "luminance": 0.28483
}

Semantic roles & 50–950 ramp

primary
#AA87A2
secondary
#C0CDC3
accent
#BA7F6E
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#121012
muted
#817F81

Preview Lab

Preview with #AA87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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