#AA2A9C#AA2A9C

#AA2A9C is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.203 H 333.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA2A9C
RGBrgb(170, 42, 156)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 75.3%, 8.2%, 33.3%)
CIE-LABlab(42.16, 62.71, -33.58)
CIE-LCHlch(42.16, 71.14, 331.83°)
OKLaboklab(52.83% 0.181 -0.0922)
OKLCHoklch(52.83% 0.203 333)
XYZxyz(23.4064, 12.6043, 32.6462)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A9C #2AAA38
analogous
#782AAA #AA2A9C #AA2A5C
triadic
#AA2A9C #9CAA2A #2A9CAA
tetradic
#AA2A9C #AA782A #2AAA38 #2A5CAA
square
#AA2A9C #AA782A #2AAA38 #2A5CAA
split-complementary
#AA2A9C #5CAA2A #2AAA78
monochromatic
#481242 #791E6F #AA2A9C #D041C0 #DC72D1

Accessibility & contrast

On white

5.97
#AA2A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA2A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A9C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A9C#FFFFFF#000000##FFFFFF
##AA2A9C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#B23861
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a9c;
/* rgb */ color: rgb(170, 42, 156);
/* oklch */ color: oklch(52.8% 0.203 333.0);
Tailwind
colors: {
  custom: {
    50: '#c771b9',
    500: '#aa2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a9c;
$custom-light: #c771b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a9c",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 306.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.20312,
    "h": 333
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#AA2A9C
secondary
#6CC376
accent
#E45644
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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