#AA216B#AA216B

#AA216B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.182 H 353.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AA216B
RGBrgb(170, 33, 107)
HSLhsl(328, 67%, 40%)
HSVhsv(328, 81%, 67%)
CMYKcmyk(0%, 80.6%, 37.1%, 33.3%)
CIE-LABlab(39.07, 58.93, -8.19)
CIE-LCHlch(39.07, 59.49, 352.09°)
OKLaboklab(49.88% 0.1811 -0.0209)
OKLCHoklch(49.88% 0.182 353.4)
XYZxyz(19.7766, 10.6978, 14.9305)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA216B #21AA60
analogous
#A521AA #AA216B #AA2127
triadic
#AA216B #6BAA21 #216BAA
tetradic
#AA216B #AAA521 #21AA60 #2127AA
square
#AA216B #AAA521 #21AA60 #2127AA
split-complementary
#AA216B #27AA21 #21AAA5
monochromatic
#430D2A #77174B #AA216B #D7318B #E164A8

Accessibility & contrast

On white

6.69
#AA216B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AA216B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA216B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA216B#FFFFFF#000000##FFFFFF
##AA216B1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#646568
Tritanopia (blue-blind)
#B80E44
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #aa216b;
/* rgb */ color: rgb(170, 33, 107);
/* oklch */ color: oklch(49.9% 0.182 353.4);
Tailwind
colors: {
  custom: {
    50: '#c86c95',
    500: '#aa216b',
    950: '#000000',
  },
}
SCSS
$custom: #aa216b;
$custom-light: #c86c95;
$custom-dark: #000000;
JSON
{
  "hex": "#aa216b",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 327.591,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.18234,
    "h": 353.4
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#AA216B
secondary
#61C68F
accent
#EA8D3D
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA216B

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

Preview Lab → · Contrast checker → · Palette generator →

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