#AA2F82#AA2F82

#AA2F82 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.180 H 343.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA2F82
RGBrgb(170, 47, 130)
HSLhsl(320, 57%, 43%)
HSVhsv(320, 72%, 67%)
CMYKcmyk(0%, 72.4%, 23.5%, 33.3%)
CIE-LABlab(41.52, 57.30, -18.77)
CIE-LCHlch(41.52, 60.30, 341.86°)
OKLaboklab(51.97% 0.1728 -0.0501)
OKLCHoklch(51.97% 0.18 343.8)
XYZxyz(21.6241, 12.1930, 22.3294)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F82 #2FAA57
analogous
#942FAA #AA2F82 #AA2F45
triadic
#AA2F82 #82AA2F #2F82AA
tetradic
#AA2F82 #AA942F #2FAA57 #2F45AA
square
#AA2F82 #AA942F #2FAA57 #2F45AA
split-complementary
#AA2F82 #45AA2F #2FAA94
monochromatic
#4A1439 #7A225D #AA2F82 #CD49A2 #DA79BB

Accessibility & contrast

On white

6.11
#AA2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F82
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F82#FFFFFF#000000##FFFFFF
##AA2F821.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#B52F54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f82;
/* rgb */ color: rgb(170, 47, 130);
/* oklch */ color: oklch(52.0% 0.180 343.8);
Tailwind
colors: {
  custom: {
    50: '#c773a6',
    500: '#aa2f82',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f82;
$custom-light: #c773a6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f82",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 319.512,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.17989,
    "h": 343.8
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#AA2F82
secondary
#72C28C
accent
#E07948
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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