#AC317B#AC317B

#AC317B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.175 H 347.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AC317B
RGBrgb(172, 49, 123)
HSLhsl(324, 56%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 71.5%, 28.5%, 32.5%)
CIE-LABlab(41.84, 56.21, -13.93)
CIE-LCHlch(41.84, 57.91, 346.08°)
OKLaboklab(52.18% 0.1709 -0.0367)
OKLCHoklch(52.18% 0.175 347.9)
XYZxyz(21.6877, 12.3997, 19.9863)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC317B #31AC62
analogous
#9F31AC #AC317B #AC313E
triadic
#AC317B #7BAC31 #317BAC
tetradic
#AC317B #AC9F31 #31AC62 #313EAC
square
#AC317B #AC9F31 #31AC62 #313EAC
split-complementary
#AC317B #3EAC31 #31AC9F
monochromatic
#4D1637 #7C2359 #AC317B #CC4E9A #DA7DB5

Accessibility & contrast

On white

6.04
#AC317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC317B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC317B#FFFFFF#000000##FFFFFF
##AC317B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#B82C52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac317b;
/* rgb */ color: rgb(172, 49, 123);
/* oklch */ color: oklch(52.2% 0.175 347.9);
Tailwind
colors: {
  custom: {
    50: '#c974a1',
    500: '#ac317b',
    950: '#000000',
  },
}
SCSS
$custom: #ac317b;
$custom-light: #c974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac317b",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 323.902,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.17481,
    "h": 347.9
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#AC317B
secondary
#76C395
accent
#DF8549
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC317B

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

Preview Lab → · Contrast checker → · Palette generator →

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