#AA2A98#AA2A98

#AA2A98 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 334.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA2A98
RGBrgb(170, 42, 152)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 75.3%, 10.6%, 33.3%)
CIE-LABlab(41.96, 62.10, -31.50)
CIE-LCHlch(41.96, 69.63, 333.11°)
OKLaboklab(52.61% 0.1807 -0.0862)
OKLCHoklch(52.61% 0.2 334.5)
XYZxyz(23.0733, 12.4710, 30.8916)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A98 #2AAA3C
analogous
#7C2AAA #AA2A98 #AA2A58
triadic
#AA2A98 #98AA2A #2A98AA
tetradic
#AA2A98 #AA7C2A #2AAA3C #2A58AA
square
#AA2A98 #AA7C2A #2AAA3C #2A58AA
split-complementary
#AA2A98 #58AA2A #2AAA7C
monochromatic
#481240 #791E6C #AA2A98 #D041BC #DC72CD

Accessibility & contrast

On white

6.01
#AA2A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA2A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A98
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A98#FFFFFF#000000##FFFFFF
##AA2A981.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#B2365F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a98;
/* rgb */ color: rgb(170, 42, 152);
/* oklch */ color: oklch(52.6% 0.200 334.5);
Tailwind
colors: {
  custom: {
    50: '#c771b6',
    500: '#aa2a98',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a98;
$custom-light: #c771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a98",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 308.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.20024,
    "h": 334.5
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#AA2A98
secondary
#6CC379
accent
#E45B44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A98

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

Preview Lab → · Contrast checker → · Palette generator →

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