#AA2D9C#AA2D9C

#AA2D9C is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.1% C 0.200 H 333.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA2D9C
RGBrgb(170, 45, 156)
HSLhsl(307, 58%, 42%)
HSVhsv(307, 74%, 67%)
CMYKcmyk(0%, 73.5%, 8.2%, 33.3%)
CIE-LABlab(42.50, 61.75, -33.05)
CIE-LCHlch(42.50, 70.04, 331.84°)
OKLaboklab(53.07% 0.1782 -0.0907)
OKLCHoklch(53.07% 0.2 333)
XYZxyz(23.5168, 12.8251, 32.6830)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2D9C #2DAA3B
analogous
#7A2DAA #AA2D9C #AA2D5E
triadic
#AA2D9C #9CAA2D #2D9CAA
tetradic
#AA2D9C #AA7A2D #2DAA3B #2D5EAA
square
#AA2D9C #AA7A2D #2DAA3B #2D5EAA
split-complementary
#AA2D9C #5EAA2D #2DAA7A
monochromatic
#491343 #7A2070 #AA2D9C #CE46BF #DB77D0

Accessibility & contrast

On white

5.89
#AA2D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA2D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2D9C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2D9C#FFFFFF#000000##FFFFFF
##AA2D9C1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27599F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B23A62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2d9c;
/* rgb */ color: rgb(170, 45, 156);
/* oklch */ color: oklch(53.1% 0.200 333.0);
Tailwind
colors: {
  custom: {
    50: '#c773b9',
    500: '#aa2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2d9c;
$custom-light: #c773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2d9c",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 306.72,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.19992,
    "h": 333
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#AA2D9C
secondary
#70C379
accent
#E15846
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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