#AD317D#AD317D

#AD317D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.177 H 347.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AD317D
RGBrgb(173, 49, 125)
HSLhsl(323, 56%, 44%)
HSVhsv(323, 72%, 68%)
CMYKcmyk(0%, 71.7%, 27.7%, 32.2%)
CIE-LABlab(42.10, 56.73, -14.76)
CIE-LCHlch(42.10, 58.62, 345.42°)
OKLaboklab(52.42% 0.1723 -0.0389)
OKLCHoklch(52.42% 0.177 347.3)
XYZxyz(22.0346, 12.5639, 20.6627)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD317D #31AD61
analogous
#9F31AD #AD317D #AD313F
triadic
#AD317D #7DAD31 #317DAD
tetradic
#AD317D #AD9F31 #31AD61 #313FAD
square
#AD317D #AD9F31 #31AD61 #313FAD
split-complementary
#AD317D #3FAD31 #31AD9F
monochromatic
#4E1638 #7D235B #AD317D #CD4E9C #DA7EB7

Accessibility & contrast

On white

5.98
#AD317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AD317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD317D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD317D#FFFFFF#000000##FFFFFF
##AD317D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#B92D53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad317d;
/* rgb */ color: rgb(173, 49, 125);
/* oklch */ color: oklch(52.4% 0.177 347.3);
Tailwind
colors: {
  custom: {
    50: '#c974a2',
    500: '#ad317d',
    950: '#000000',
  },
}
SCSS
$custom: #ad317d;
$custom-light: #c974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad317d",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 323.226,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.17668,
    "h": 347.3
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#AD317D
secondary
#77C394
accent
#DF8349
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AD317D

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

Preview Lab → · Contrast checker → · Palette generator →

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