#AD3172#AD3172

#AD3172 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.171 H 352.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AD3172
RGBrgb(173, 49, 114)
HSLhsl(329, 56%, 44%)
HSVhsv(329, 72%, 68%)
CMYKcmyk(0%, 71.7%, 34.1%, 32.2%)
CIE-LABlab(41.69, 55.39, -8.58)
CIE-LCHlch(41.69, 56.05, 351.19°)
OKLaboklab(51.98% 0.1695 -0.0221)
OKLCHoklch(51.98% 0.171 352.6)
XYZxyz(21.3704, 12.2982, 17.1647)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD3172 #31AD6C
analogous
#AA31AD #AD3172 #AD3134
triadic
#AD3172 #72AD31 #3172AD
tetradic
#AD3172 #ADAA31 #31AD6C #3134AD
square
#AD3172 #ADAA31 #31AD6C #3134AD
split-complementary
#AD3172 #34AD31 #31ADAA
monochromatic
#4E1633 #7D2353 #AD3172 #CD4E91 #DA7EAE

Accessibility & contrast

On white

6.07
#AD3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AD3172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD3172
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD3172#FFFFFF#000000##FFFFFF
##AD31721.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad3172;
/* rgb */ color: rgb(173, 49, 114);
/* oklch */ color: oklch(52.0% 0.171 352.6);
Tailwind
colors: {
  custom: {
    50: '#ca739a',
    500: '#ad3172',
    950: '#000000',
  },
}
SCSS
$custom: #ad3172;
$custom-light: #ca739a;
$custom-dark: #000000;
JSON
{
  "hex": "#ad3172",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 328.548,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.17093,
    "h": 352.6
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#AD3172
secondary
#77C39B
accent
#DF9049
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AD3172

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

Preview Lab → · Contrast checker → · Palette generator →

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