#AA218B#AA218B

#AA218B is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 339.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AA218B
RGBrgb(170, 33, 139)
HSLhsl(314, 67%, 40%)
HSVhsv(314, 81%, 67%)
CMYKcmyk(0%, 80.6%, 18.2%, 33.3%)
CIE-LABlab(40.41, 62.83, -26.01)
CIE-LCHlch(40.41, 68.00, 337.51°)
OKLaboklab(51.3% 0.1873 -0.0704)
OKLCHoklch(51.3% 0.2 339.4)
XYZxyz(21.7822, 11.5001, 25.4937)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA218B #21AA40
analogous
#8521AA #AA218B #AA2146
triadic
#AA218B #8BAA21 #218BAA
tetradic
#AA218B #AA8521 #21AA40 #2146AA
square
#AA218B #AA8521 #21AA40 #2146AA
split-complementary
#AA218B #46AA21 #21AA85
monochromatic
#430D37 #771761 #AA218B #D731B2 #E164C5

Accessibility & contrast

On white

6.36
#AA218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AA218B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA218B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA218B#FFFFFF#000000##FFFFFF
##AA218B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#B42755
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa218b;
/* rgb */ color: rgb(170, 33, 139);
/* oklch */ color: oklch(51.3% 0.200 339.4);
Tailwind
colors: {
  custom: {
    50: '#c76ead',
    500: '#aa218b',
    950: '#000000',
  },
}
SCSS
$custom: #aa218b;
$custom-light: #c76ead;
$custom-dark: #000000;
JSON
{
  "hex": "#aa218b",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 313.577,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.20015,
    "h": 339.4
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA218B

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

Preview Lab → · Contrast checker → · Palette generator →

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