#AD317C#AD317C

#AD317C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.176 H 347.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AD317C
RGBrgb(173, 49, 124)
HSLhsl(324, 56%, 44%)
HSVhsv(324, 72%, 68%)
CMYKcmyk(0%, 71.7%, 28.3%, 32.2%)
CIE-LABlab(42.06, 56.60, -14.21)
CIE-LCHlch(42.06, 58.36, 345.91°)
OKLaboklab(52.38% 0.1721 -0.0374)
OKLCHoklch(52.38% 0.176 347.7)
XYZxyz(21.9710, 12.5385, 20.3280)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD317C #31AD62
analogous
#A031AD #AD317C #AD313E
triadic
#AD317C #7CAD31 #317CAD
tetradic
#AD317C #ADA031 #31AD62 #313EAD
square
#AD317C #ADA031 #31AD62 #313EAD
split-complementary
#AD317C #3EAD31 #31ADA0
monochromatic
#4E1638 #7D235A #AD317C #CD4E9B #DA7EB6

Accessibility & contrast

On white

5.99
#AD317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD317C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD317C#FFFFFF#000000##FFFFFF
##AD317C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#B92C52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad317c;
/* rgb */ color: rgb(173, 49, 124);
/* oklch */ color: oklch(52.4% 0.176 347.7);
Tailwind
colors: {
  custom: {
    50: '#c974a2',
    500: '#ad317c',
    950: '#000000',
  },
}
SCSS
$custom: #ad317c;
$custom-light: #c974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad317c",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 323.71,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.17612,
    "h": 347.7
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#AD317C
secondary
#77C395
accent
#DF8449
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AD317C

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

Preview Lab → · Contrast checker → · Palette generator →

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