#AD317F#AD317F

#AD317F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.178 H 346.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AD317F
RGBrgb(173, 49, 127)
HSLhsl(322, 56%, 44%)
HSVhsv(322, 72%, 68%)
CMYKcmyk(0%, 71.7%, 26.6%, 32.2%)
CIE-LABlab(42.18, 56.99, -15.87)
CIE-LCHlch(42.18, 59.16, 344.44°)
OKLaboklab(52.5% 0.1728 -0.042)
OKLCHoklch(52.5% 0.178 346.3)
XYZxyz(22.1636, 12.6155, 21.3424)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD317F #31AD5F
analogous
#9D31AD #AD317F #AD3141
triadic
#AD317F #7FAD31 #317FAD
tetradic
#AD317F #AD9D31 #31AD5F #3141AD
square
#AD317F #AD9D31 #31AD5F #3141AD
split-complementary
#AD317F #41AD31 #31AD9D
monochromatic
#4E1639 #7D235C #AD317F #CD4E9E #DA7EB8

Accessibility & contrast

On white

5.96
#AD317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AD317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD317F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD317F#FFFFFF#000000##FFFFFF
##AD317F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#B92E54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad317f;
/* rgb */ color: rgb(173, 49, 127);
/* oklch */ color: oklch(52.5% 0.178 346.3);
Tailwind
colors: {
  custom: {
    50: '#c974a4',
    500: '#ad317f',
    950: '#000000',
  },
}
SCSS
$custom: #ad317f;
$custom-light: #c974a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad317f",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 322.258,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.17783,
    "h": 346.3
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#AD317F
secondary
#77C393
accent
#DF8049
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AD317F

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

Preview Lab → · Contrast checker → · Palette generator →

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