#AA2A99#AA2A99

#AA2A99 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.201 H 334.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AA2A99
RGBrgb(170, 42, 153)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 75.3%, 10%, 33.3%)
CIE-LABlab(42.01, 62.25, -32.02)
CIE-LCHlch(42.01, 70.00, 332.78°)
OKLaboklab(52.67% 0.1808 -0.0877)
OKLCHoklch(52.67% 0.201 334.1)
XYZxyz(23.1555, 12.5039, 31.3248)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A99 #2AAA3B
analogous
#7B2AAA #AA2A99 #AA2A59
triadic
#AA2A99 #99AA2A #2A99AA
tetradic
#AA2A99 #AA7B2A #2AAA3B #2A59AA
square
#AA2A99 #AA7B2A #2AAA3B #2A59AA
split-complementary
#AA2A99 #59AA2A #2AAA7B
monochromatic
#481241 #791E6D #AA2A99 #D041BD #DC72CE

Accessibility & contrast

On white

6.00
#AA2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA2A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A99
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A99#FFFFFF#000000##FFFFFF
##AA2A991.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#B2365F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a99;
/* rgb */ color: rgb(170, 42, 153);
/* oklch */ color: oklch(52.7% 0.201 334.1);
Tailwind
colors: {
  custom: {
    50: '#c771b7',
    500: '#aa2a99',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a99;
$custom-light: #c771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a99",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 307.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.20095,
    "h": 334.1
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#AA2A99
secondary
#6CC378
accent
#E45944
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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