#AA2C9F#AA2C9F

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

Color values

HEX#AA2C9F
RGBrgb(170, 44, 159)
HSLhsl(305, 59%, 42%)
HSVhsv(305, 74%, 67%)
CMYKcmyk(0%, 74.1%, 6.5%, 33.3%)
CIE-LABlab(42.54, 62.54, -34.79)
CIE-LCHlch(42.54, 71.56, 330.91°)
OKLaboklab(53.15% 0.1793 -0.0957)
OKLCHoklch(53.15% 0.203 331.9)
XYZxyz(23.7363, 12.8526, 34.0248)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C9F #2CAA37
analogous
#762CAA #AA2C9F #AA2C60
triadic
#AA2C9F #9FAA2C #2C9FAA
tetradic
#AA2C9F #AA762C #2CAA37 #2C60AA
square
#AA2C9F #AA762C #2CAA37 #2C60AA
split-complementary
#AA2C9F #60AA2C #2CAA76
monochromatic
#491344 #791F72 #AA2C9F #CF44C3 #DB75D2

Accessibility & contrast

On white

5.88
#AA2C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA2C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C9F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C9F#FFFFFF#000000##FFFFFF
##AA2C9F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2c9f;
/* rgb */ color: rgb(170, 44, 159);
/* oklch */ color: oklch(53.2% 0.203 331.9);
Tailwind
colors: {
  custom: {
    50: '#c772bc',
    500: '#aa2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c9f;
$custom-light: #c772bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c9f",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 305.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.20321,
    "h": 331.9
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#AA2C9F
secondary
#6FC376
accent
#E25346
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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