#AA219C#AA219C

#AA219C is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.212 H 333.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA219C
RGBrgb(170, 33, 156)
HSLhsl(306, 67%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 80.6%, 8.2%, 33.3%)
CIE-LABlab(41.27, 65.26, -34.98)
CIE-LCHlch(41.27, 74.05, 331.81°)
OKLaboklab(52.19% 0.1884 -0.0962)
OKLCHoklch(52.19% 0.212 333)
XYZxyz(23.1223, 12.0361, 32.5515)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA219C #21AA2F
analogous
#7321AA #AA219C #AA2158
triadic
#AA219C #9CAA21 #219CAA
tetradic
#AA219C #AA7321 #21AA2F #2158AA
square
#AA219C #AA7321 #21AA2F #2158AA
split-complementary
#AA219C #58AA21 #21AA73
monochromatic
#430D3E #77176D #AA219C #D731C6 #E164D4

Accessibility & contrast

On white

6.16
#AA219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA219C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA219C#FFFFFF#000000##FFFFFF
##AA219C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#B2325F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa219c;
/* rgb */ color: rgb(170, 33, 156);
/* oklch */ color: oklch(52.2% 0.212 333.0);
Tailwind
colors: {
  custom: {
    50: '#c76eb9',
    500: '#aa219c',
    950: '#000000',
  },
}
SCSS
$custom: #aa219c;
$custom-light: #c76eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa219c",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 306.131,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.21157,
    "h": 333
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#AA219C
secondary
#61C66B
accent
#EA4F3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA219C

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

Preview Lab → · Contrast checker → · Palette generator →

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