#AA2A71#AA2A71

#AA2A71 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 351.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA2A71
RGBrgb(170, 42, 113)
HSLhsl(327, 60%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 75.3%, 33.5%, 33.3%)
CIE-LABlab(40.24, 56.89, -10.19)
CIE-LCHlch(40.24, 57.79, 349.85°)
OKLaboklab(50.81% 0.1742 -0.0264)
OKLCHoklch(50.81% 0.176 351.4)
XYZxyz(20.3873, 11.3966, 16.7457)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A71 #2AAA63
analogous
#A32AAA #AA2A71 #AA2A31
triadic
#AA2A71 #71AA2A #2A71AA
tetradic
#AA2A71 #AAA32A #2AAA63 #2A31AA
square
#AA2A71 #AAA32A #2AAA63 #2A31AA
split-complementary
#AA2A71 #31AA2A #2AAAA3
monochromatic
#481230 #791E50 #AA2A71 #D04190 #DC72AD

Accessibility & contrast

On white

6.40
#AA2A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AA2A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A71
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A71#FFFFFF#000000##FFFFFF
##AA2A711.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#65676E
Tritanopia (blue-blind)
#B7204A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2a71;
/* rgb */ color: rgb(170, 42, 113);
/* oklch */ color: oklch(50.8% 0.176 351.4);
Tailwind
colors: {
  custom: {
    50: '#c87099',
    500: '#aa2a71',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a71;
$custom-light: #c87099;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a71",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 326.719,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.17616,
    "h": 351.4
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#AA2A71
secondary
#6CC393
accent
#E48B44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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