#AA218F#AA218F

#AA218F is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.5% C 0.203 H 337.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AA218F
RGBrgb(170, 33, 143)
HSLhsl(312, 67%, 40%)
HSVhsv(312, 81%, 67%)
CMYKcmyk(0%, 80.6%, 15.9%, 33.3%)
CIE-LABlab(40.60, 63.38, -28.15)
CIE-LCHlch(40.60, 69.35, 336.05°)
OKLaboklab(51.5% 0.1877 -0.0766)
OKLCHoklch(51.5% 0.203 337.8)
XYZxyz(22.0799, 11.6191, 27.0612)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA218F #21AA3C
analogous
#8121AA #AA218F #AA214A
triadic
#AA218F #8FAA21 #218FAA
tetradic
#AA218F #AA8121 #21AA3C #214AAA
square
#AA218F #AA8121 #21AA3C #214AAA
split-complementary
#AA218F #4AAA21 #21AA81
monochromatic
#430D39 #771764 #AA218F #D731B6 #E164C8

Accessibility & contrast

On white

6.32
#AA218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AA218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA218F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA218F#FFFFFF#000000##FFFFFF
##AA218F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#B42A57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa218f;
/* rgb */ color: rgb(170, 33, 143);
/* oklch */ color: oklch(51.5% 0.203 337.8);
Tailwind
colors: {
  custom: {
    50: '#c76eb0',
    500: '#aa218f',
    950: '#000000',
  },
}
SCSS
$custom: #aa218f;
$custom-light: #c76eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa218f",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 311.825,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.20274,
    "h": 337.8
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#AA218F
secondary
#61C675
accent
#EA603D
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA218F

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

Preview Lab → · Contrast checker → · Palette generator →

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