#AA2C99#AA2C99

#AA2C99 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.8% C 0.199 H 334.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA2C99
RGBrgb(170, 44, 153)
HSLhsl(308, 59%, 42%)
HSVhsv(308, 74%, 67%)
CMYKcmyk(0%, 74.1%, 10%, 33.3%)
CIE-LABlab(42.23, 61.61, -31.67)
CIE-LCHlch(42.23, 69.28, 332.80°)
OKLaboklab(52.83% 0.1789 -0.0867)
OKLCHoklch(52.83% 0.199 334.1)
XYZxyz(23.2282, 12.6493, 31.3490)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C99 #2CAA3D
analogous
#7C2CAA #AA2C99 #AA2C5A
triadic
#AA2C99 #99AA2C #2C99AA
tetradic
#AA2C99 #AA7C2C #2CAA3D #2C5AAA
square
#AA2C99 #AA7C2C #2CAA3D #2C5AAA
split-complementary
#AA2C99 #5AAA2C #2CAA7C
monochromatic
#491341 #791F6D #AA2C99 #CF44BC #DB75CE

Accessibility & contrast

On white

5.95
#AA2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C99
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C99#FFFFFF#000000##FFFFFF
##AA2C991.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#B23860
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2c99;
/* rgb */ color: rgb(170, 44, 153);
/* oklch */ color: oklch(52.8% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#c772b7',
    500: '#aa2c99',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c99;
$custom-light: #c772b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c99",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 308.095,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.19882,
    "h": 334.1
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#AA2C99
secondary
#6FC37A
accent
#E25B46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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