#AA2A95#AA2A95

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

Color values

HEX#AA2A95
RGBrgb(170, 42, 149)
HSLhsl(310, 60%, 42%)
HSVhsv(310, 75%, 67%)
CMYKcmyk(0%, 75.3%, 12.4%, 33.3%)
CIE-LABlab(41.80, 61.65, -29.92)
CIE-LCHlch(41.80, 68.53, 334.11°)
OKLaboklab(52.46% 0.1805 -0.0817)
OKLCHoklch(52.46% 0.198 335.7)
XYZxyz(22.8307, 12.3740, 29.6139)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A95 #2AAA3F
analogous
#7F2AAA #AA2A95 #AA2A55
triadic
#AA2A95 #95AA2A #2A95AA
tetradic
#AA2A95 #AA7F2A #2AAA3F #2A55AA
square
#AA2A95 #AA7F2A #2AAA3F #2A55AA
split-complementary
#AA2A95 #55AA2A #2AAA7F
monochromatic
#48123F #791E6A #AA2A95 #D041B9 #DC72CB

Accessibility & contrast

On white

6.04
#AA2A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA2A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A95
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A95#FFFFFF#000000##FFFFFF
##AA2A951.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#596992
Tritanopia (blue-blind)
#B3345D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2a95;
/* rgb */ color: rgb(170, 42, 149);
/* oklch */ color: oklch(52.5% 0.198 335.7);
Tailwind
colors: {
  custom: {
    50: '#c771b4',
    500: '#aa2a95',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a95;
$custom-light: #c771b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a95",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 309.844,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.19813,
    "h": 335.7
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#AA2A95
secondary
#6CC37B
accent
#E45E44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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