#AD2171#AD2171

#AD2171 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 351.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AD2171
RGBrgb(173, 33, 113)
HSLhsl(326, 68%, 40%)
HSVhsv(326, 81%, 68%)
CMYKcmyk(0%, 80.9%, 34.7%, 32.2%)
CIE-LABlab(39.86, 60.34, -10.71)
CIE-LCHlch(39.86, 61.28, 349.94°)
OKLaboklab(50.64% 0.1852 -0.0277)
OKLCHoklch(50.64% 0.187 351.5)
XYZxyz(20.7594, 11.1668, 16.6818)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2171 #21AD5D
analogous
#A321AD #AD2171 #AD212B
triadic
#AD2171 #71AD21 #2171AD
tetradic
#AD2171 #ADA321 #21AD5D #212BAD
square
#AD2171 #ADA321 #21AD5D #212BAD
split-complementary
#AD2171 #2BAD21 #21ADA3
monochromatic
#460D2E #7A174F #AD2171 #D83391 #E266AD

Accessibility & contrast

On white

6.50
#AD2171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AD2171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2171
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2171#FFFFFF#000000##FFFFFF
##AD21711.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#65676E
Tritanopia (blue-blind)
#BB1147
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ad2171;
/* rgb */ color: rgb(173, 33, 113);
/* oklch */ color: oklch(50.6% 0.187 351.5);
Tailwind
colors: {
  custom: {
    50: '#ca6d99',
    500: '#ad2171',
    950: '#000000',
  },
}
SCSS
$custom: #ad2171;
$custom-light: #ca6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2171",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 325.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.18727,
    "h": 351.5
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#AD2171
secondary
#62C78E
accent
#EB873D
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AD2171

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

Preview Lab → · Contrast checker → · Palette generator →

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