#AA2A82#AA2A82

#AA2A82 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.186 H 343.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA2A82
RGBrgb(170, 42, 130)
HSLhsl(319, 60%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 75.3%, 23.5%, 33.3%)
CIE-LABlab(40.92, 58.99, -19.69)
CIE-LCHlch(40.92, 62.19, 341.54°)
OKLaboklab(51.53% 0.178 -0.0526)
OKLCHoklch(51.53% 0.186 343.5)
XYZxyz(21.4356, 11.8159, 22.2666)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A82 #2AAA52
analogous
#922AAA #AA2A82 #AA2A42
triadic
#AA2A82 #82AA2A #2A82AA
tetradic
#AA2A82 #AA922A #2AAA52 #2A42AA
square
#AA2A82 #AA922A #2AAA52 #2A42AA
split-complementary
#AA2A82 #42AA2A #2AAA92
monochromatic
#481237 #791E5C #AA2A82 #D041A3 #DC72BB

Accessibility & contrast

On white

6.24
#AA2A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA2A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A82
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A82#FFFFFF#000000##FFFFFF
##AA2A821.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#B52A53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2a82;
/* rgb */ color: rgb(170, 42, 130);
/* oklch */ color: oklch(51.5% 0.186 343.5);
Tailwind
colors: {
  custom: {
    50: '#c771a6',
    500: '#aa2a82',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a82;
$custom-light: #c771a6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a82",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 318.75,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.1856,
    "h": 343.5
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#AA2A82
secondary
#6CC388
accent
#E47644
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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