#AA216F#AA216F

#AA216F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 351.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AA216F
RGBrgb(170, 33, 111)
HSLhsl(326, 67%, 40%)
HSVhsv(326, 81%, 67%)
CMYKcmyk(0%, 80.6%, 34.7%, 33.3%)
CIE-LABlab(39.21, 59.36, -10.48)
CIE-LCHlch(39.21, 60.28, 349.98°)
OKLaboklab(50.04% 0.1822 -0.0271)
OKLCHoklch(50.04% 0.184 351.5)
XYZxyz(19.9919, 10.7839, 16.0646)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA216F #21AA5C
analogous
#A021AA #AA216F #AA212B
triadic
#AA216F #6FAA21 #216FAA
tetradic
#AA216F #AAA021 #21AA5C #212BAA
square
#AA216F #AAA021 #21AA5C #212BAA
split-complementary
#AA216F #2BAA21 #21AAA0
monochromatic
#430D2C #77174E #AA216F #D73190 #E164AB

Accessibility & contrast

On white

6.65
#AA216F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AA216F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA216F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA216F#FFFFFF#000000##FFFFFF
##AA216F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#B71246
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #aa216f;
/* rgb */ color: rgb(170, 33, 111);
/* oklch */ color: oklch(50.0% 0.184 351.5);
Tailwind
colors: {
  custom: {
    50: '#c86c98',
    500: '#aa216f',
    950: '#000000',
  },
}
SCSS
$custom: #aa216f;
$custom-light: #c86c98;
$custom-dark: #000000;
JSON
{
  "hex": "#aa216f",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 325.839,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.1842,
    "h": 351.5
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#AA216F
secondary
#61C68C
accent
#EA883D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA216F

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

Preview Lab → · Contrast checker → · Palette generator →

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