#AA2D9F#AA2D9F

#AA2D9F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 331.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AA2D9F
RGBrgb(170, 45, 159)
HSLhsl(305, 58%, 42%)
HSVhsv(305, 74%, 67%)
CMYKcmyk(0%, 73.5%, 6.5%, 33.3%)
CIE-LABlab(42.65, 62.21, -34.61)
CIE-LCHlch(42.65, 71.19, 330.91°)
OKLaboklab(53.23% 0.1783 -0.0952)
OKLCHoklch(53.23% 0.202 331.9)
XYZxyz(23.7740, 12.9280, 34.0374)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2D9F #2DAA38
analogous
#772DAA #AA2D9F #AA2D61
triadic
#AA2D9F #9FAA2D #2D9FAA
tetradic
#AA2D9F #AA772D #2DAA38 #2D61AA
square
#AA2D9F #AA772D #2DAA38 #2D61AA
split-complementary
#AA2D9F #61AA2D #2DAA77
monochromatic
#491344 #7A2072 #AA2D9F #CE46C2 #DB77D2

Accessibility & contrast

On white

5.86
#AA2D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA2D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2D9F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2D9F#FFFFFF#000000##FFFFFF
##AA2D9F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#B13B63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2d9f;
/* rgb */ color: rgb(170, 45, 159);
/* oklch */ color: oklch(53.2% 0.202 331.9);
Tailwind
colors: {
  custom: {
    50: '#c773bc',
    500: '#aa2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2d9f;
$custom-light: #c773bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2d9f",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 305.28,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.20214,
    "h": 331.9
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#AA2D9F
secondary
#70C377
accent
#E15446
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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