#AA218A#AA218A

#AA218A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 339.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA218A
RGBrgb(170, 33, 138)
HSLhsl(314, 67%, 40%)
HSVhsv(314, 81%, 67%)
CMYKcmyk(0%, 80.6%, 18.8%, 33.3%)
CIE-LABlab(40.36, 62.70, -25.47)
CIE-LCHlch(40.36, 67.67, 337.89°)
OKLaboklab(51.25% 0.1872 -0.0689)
OKLCHoklch(51.25% 0.2 339.8)
XYZxyz(21.7095, 11.4710, 25.1106)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA218A #21AA41
analogous
#8621AA #AA218A #AA2145
triadic
#AA218A #8AAA21 #218AAA
tetradic
#AA218A #AA8621 #21AA41 #2145AA
square
#AA218A #AA8621 #21AA41 #2145AA
split-complementary
#AA218A #45AA21 #21AA86
monochromatic
#430D37 #771760 #AA218A #D731B0 #E164C4

Accessibility & contrast

On white

6.38
#AA218A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AA218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA218A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA218A#FFFFFF#000000##FFFFFF
##AA218A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#B42754
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa218a;
/* rgb */ color: rgb(170, 33, 138);
/* oklch */ color: oklch(51.2% 0.200 339.8);
Tailwind
colors: {
  custom: {
    50: '#c76dac',
    500: '#aa218a',
    950: '#000000',
  },
}
SCSS
$custom: #aa218a;
$custom-light: #c76dac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa218a",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 314.015,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.1995,
    "h": 339.8
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#AA218A
secondary
#61C678
accent
#EA663D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA218A

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

Preview Lab → · Contrast checker → · Palette generator →

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