#AA2A96#AA2A96

#AA2A96 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 335.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA2A96
RGBrgb(170, 42, 150)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 75.3%, 11.8%, 33.3%)
CIE-LABlab(41.85, 61.80, -30.45)
CIE-LCHlch(41.85, 68.90, 333.77°)
OKLaboklab(52.51% 0.1806 -0.0832)
OKLCHoklch(52.51% 0.199 335.3)
XYZxyz(22.9109, 12.4060, 30.0362)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A96 #2AAA3E
analogous
#7E2AAA #AA2A96 #AA2A56
triadic
#AA2A96 #96AA2A #2A96AA
tetradic
#AA2A96 #AA7E2A #2AAA3E #2A56AA
square
#AA2A96 #AA7E2A #2AAA3E #2A56AA
split-complementary
#AA2A96 #56AA2A #2AAA7E
monochromatic
#48123F #791E6B #AA2A96 #D041BA #DC72CC

Accessibility & contrast

On white

6.03
#AA2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA2A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A96
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A96#FFFFFF#000000##FFFFFF
##AA2A961.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#B3355D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a96;
/* rgb */ color: rgb(170, 42, 150);
/* oklch */ color: oklch(52.5% 0.199 335.3);
Tailwind
colors: {
  custom: {
    50: '#c771b5',
    500: '#aa2a96',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a96;
$custom-light: #c771b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a96",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 309.375,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.19883,
    "h": 335.3
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#AA2A96
secondary
#6CC37A
accent
#E45D44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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