#AD3171#AD3171

#AD3171 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.170 H 353.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AD3171
RGBrgb(173, 49, 113)
HSLhsl(329, 56%, 44%)
HSVhsv(329, 72%, 68%)
CMYKcmyk(0%, 71.7%, 34.7%, 32.2%)
CIE-LABlab(41.65, 55.27, -8.01)
CIE-LCHlch(41.65, 55.85, 351.75°)
OKLaboklab(51.95% 0.1692 -0.0205)
OKLCHoklch(51.95% 0.17 353.1)
XYZxyz(21.3138, 12.2756, 16.8666)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD3171 #31AD6D
analogous
#AB31AD #AD3171 #AD3133
triadic
#AD3171 #71AD31 #3171AD
tetradic
#AD3171 #ADAB31 #31AD6D #3133AD
square
#AD3171 #ADAB31 #31AD6D #3133AD
split-complementary
#AD3171 #33AD31 #31ADAB
monochromatic
#4E1633 #7D2352 #AD3171 #CD4E90 #DA7EAE

Accessibility & contrast

On white

6.08
#AD3171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AD3171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD3171
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD3171#FFFFFF#000000##FFFFFF
##AD31711.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#BA274D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad3171;
/* rgb */ color: rgb(173, 49, 113);
/* oklch */ color: oklch(51.9% 0.170 353.1);
Tailwind
colors: {
  custom: {
    50: '#ca7399',
    500: '#ad3171',
    950: '#000000',
  },
}
SCSS
$custom: #ad3171;
$custom-light: #ca7399;
$custom-dark: #000000;
JSON
{
  "hex": "#ad3171",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 329.032,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.17045,
    "h": 353.1
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#AD3171
secondary
#77C39C
accent
#DF9149
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AD3171

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

Preview Lab → · Contrast checker → · Palette generator →

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