#AA2C9C#AA2C9C

#AA2C9C is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.201 H 333.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA2C9C
RGBrgb(170, 44, 156)
HSLhsl(307, 59%, 42%)
HSVhsv(307, 74%, 67%)
CMYKcmyk(0%, 74.1%, 8.2%, 33.3%)
CIE-LABlab(42.38, 62.07, -33.23)
CIE-LCHlch(42.38, 70.41, 331.84°)
OKLaboklab(52.99% 0.1791 -0.0912)
OKLCHoklch(52.99% 0.201 333)
XYZxyz(23.4791, 12.7497, 32.6704)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C9C #2CAA3A
analogous
#792CAA #AA2C9C #AA2C5D
triadic
#AA2C9C #9CAA2C #2C9CAA
tetradic
#AA2C9C #AA792C #2CAA3A #2C5DAA
square
#AA2C9C #AA792C #2CAA3A #2C5DAA
split-complementary
#AA2C9C #5DAA2C #2CAA79
monochromatic
#491343 #791F6F #AA2C9C #CF44BF #DB75D0

Accessibility & contrast

On white

5.92
#AA2C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C9C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C9C#FFFFFF#000000##FFFFFF
##AA2C9C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26599F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B23961
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2c9c;
/* rgb */ color: rgb(170, 44, 156);
/* oklch */ color: oklch(53.0% 0.201 333.0);
Tailwind
colors: {
  custom: {
    50: '#c772b9',
    500: '#aa2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c9c;
$custom-light: #c772b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c9c",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 306.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.201,
    "h": 333
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#AA2C9C
secondary
#6FC378
accent
#E25746
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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