#AA218D#AA218D

#AA218D is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.4% C 0.201 H 338.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA218D
RGBrgb(170, 33, 141)
HSLhsl(313, 67%, 40%)
HSVhsv(313, 81%, 67%)
CMYKcmyk(0%, 80.6%, 17.1%, 33.3%)
CIE-LABlab(40.51, 63.11, -27.08)
CIE-LCHlch(40.51, 68.67, 336.77°)
OKLaboklab(51.4% 0.1875 -0.0735)
OKLCHoklch(51.4% 0.201 338.6)
XYZxyz(21.9297, 11.5590, 26.2703)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA218D #21AA3E
analogous
#8321AA #AA218D #AA2148
triadic
#AA218D #8DAA21 #218DAA
tetradic
#AA218D #AA8321 #21AA3E #2148AA
square
#AA218D #AA8321 #21AA3E #2148AA
split-complementary
#AA218D #48AA21 #21AA83
monochromatic
#430D38 #771762 #AA218D #D731B4 #E164C7

Accessibility & contrast

On white

6.34
#AA218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA218D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA218D#FFFFFF#000000##FFFFFF
##AA218D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#B42956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa218d;
/* rgb */ color: rgb(170, 33, 141);
/* oklch */ color: oklch(51.4% 0.201 338.6);
Tailwind
colors: {
  custom: {
    50: '#c76eae',
    500: '#aa218d',
    950: '#000000',
  },
}
SCSS
$custom: #aa218d;
$custom-light: #c76eae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa218d",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 312.701,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.20143,
    "h": 338.6
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#AA218D
secondary
#61C676
accent
#EA623D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA218D

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

Preview Lab → · Contrast checker → · Palette generator →

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