#AA2A87#AA2A87

#AA2A87 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.189 H 341.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA2A87
RGBrgb(170, 42, 135)
HSLhsl(316, 60%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 75.3%, 20.6%, 33.3%)
CIE-LABlab(41.14, 59.66, -22.42)
CIE-LCHlch(41.14, 63.74, 339.40°)
OKLaboklab(51.76% 0.1788 -0.0603)
OKLCHoklch(51.76% 0.189 341.4)
XYZxyz(21.7794, 11.9535, 24.0772)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A87 #2AAA4D
analogous
#8D2AAA #AA2A87 #AA2A47
triadic
#AA2A87 #87AA2A #2A87AA
tetradic
#AA2A87 #AA8D2A #2AAA4D #2A47AA
square
#AA2A87 #AA8D2A #2AAA4D #2A47AA
split-complementary
#AA2A87 #47AA2A #2AAA8D
monochromatic
#481239 #791E60 #AA2A87 #D041A9 #DC72BF

Accessibility & contrast

On white

6.19
#AA2A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA2A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A87
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A87#FFFFFF#000000##FFFFFF
##AA2A871.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#B52D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2a87;
/* rgb */ color: rgb(170, 42, 135);
/* oklch */ color: oklch(51.8% 0.189 341.4);
Tailwind
colors: {
  custom: {
    50: '#c771aa',
    500: '#aa2a87',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a87;
$custom-light: #c771aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a87",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 316.406,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.18872,
    "h": 341.4
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#AA2A87
secondary
#6CC384
accent
#E47044
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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