#AA2171#AA2171

#AA2171 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.185 H 350.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AA2171
RGBrgb(170, 33, 113)
HSLhsl(325, 67%, 40%)
HSVhsv(325, 81%, 67%)
CMYKcmyk(0%, 80.6%, 33.5%, 33.3%)
CIE-LABlab(39.29, 59.59, -11.62)
CIE-LCHlch(39.29, 60.71, 348.96°)
OKLaboklab(50.12% 0.1827 -0.0302)
OKLCHoklch(50.12% 0.185 350.6)
XYZxyz(20.1033, 10.8285, 16.6510)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2171 #21AA5A
analogous
#9F21AA #AA2171 #AA212C
triadic
#AA2171 #71AA21 #2171AA
tetradic
#AA2171 #AA9F21 #21AA5A #212CAA
square
#AA2171 #AA9F21 #21AA5A #212CAA
split-complementary
#AA2171 #2CAA21 #21AA9F
monochromatic
#430D2D #77174F #AA2171 #D73192 #E164AD

Accessibility & contrast

On white

6.63
#AA2171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AA2171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2171
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2171#FFFFFF#000000##FFFFFF
##AA21711.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#62656E
Tritanopia (blue-blind)
#B71447
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #aa2171;
/* rgb */ color: rgb(170, 33, 113);
/* oklch */ color: oklch(50.1% 0.185 350.6);
Tailwind
colors: {
  custom: {
    50: '#c86d99',
    500: '#aa2171',
    950: '#000000',
  },
}
SCSS
$custom: #aa2171;
$custom-light: #c86d99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2171",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 324.964,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.18519,
    "h": 350.6
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#AA2171
secondary
#61C68B
accent
#EA853D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2171

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

Preview Lab → · Contrast checker → · Palette generator →

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