#AC317D#AC317D

#AC317D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.176 H 346.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC317D
RGBrgb(172, 49, 125)
HSLhsl(323, 56%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 71.5%, 27.3%, 32.5%)
CIE-LABlab(41.92, 56.46, -15.05)
CIE-LCHlch(41.92, 58.43, 345.08°)
OKLaboklab(52.26% 0.1714 -0.0397)
OKLCHoklch(52.26% 0.176 346.9)
XYZxyz(21.8142, 12.4503, 20.6524)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC317D #31AC60
analogous
#9D31AC #AC317D #AC313F
triadic
#AC317D #7DAC31 #317DAC
tetradic
#AC317D #AC9D31 #31AC60 #313FAC
square
#AC317D #AC9D31 #31AC60 #313FAC
split-complementary
#AC317D #3FAC31 #31AC9D
monochromatic
#4D1638 #7C235A #AC317D #CC4E9C #DA7DB7

Accessibility & contrast

On white

6.02
#AC317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC317D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC317D#FFFFFF#000000##FFFFFF
##AC317D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#656B7A
Tritanopia (blue-blind)
#B82D53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac317d;
/* rgb */ color: rgb(172, 49, 125);
/* oklch */ color: oklch(52.3% 0.176 346.9);
Tailwind
colors: {
  custom: {
    50: '#c974a2',
    500: '#ac317d',
    950: '#000000',
  },
}
SCSS
$custom: #ac317d;
$custom-light: #c974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac317d",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 322.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.17595,
    "h": 346.9
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#AC317D
secondary
#76C393
accent
#DF8249
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC317D

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

Preview Lab → · Contrast checker → · Palette generator →

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