#AC317F#AC317F

#AC317F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.177 H 346.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AC317F
RGBrgb(172, 49, 127)
HSLhsl(322, 56%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 71.5%, 26.2%, 32.5%)
CIE-LABlab(42.00, 56.72, -16.15)
CIE-LCHlch(42.00, 58.97, 344.10°)
OKLaboklab(52.34% 0.1719 -0.0428)
OKLCHoklch(52.34% 0.177 346)
XYZxyz(21.9433, 12.5019, 21.3321)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC317F #31AC5E
analogous
#9B31AC #AC317F #AC3142
triadic
#AC317F #7FAC31 #317FAC
tetradic
#AC317F #AC9B31 #31AC5E #3142AC
square
#AC317F #AC9B31 #31AC5E #3142AC
split-complementary
#AC317F #42AC31 #31AC9B
monochromatic
#4D1639 #7C235C #AC317F #CC4E9E #DA7DB8

Accessibility & contrast

On white

6.00
#AC317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC317F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC317F#FFFFFF#000000##FFFFFF
##AC317F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#B82E54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac317f;
/* rgb */ color: rgb(172, 49, 127);
/* oklch */ color: oklch(52.3% 0.177 346.0);
Tailwind
colors: {
  custom: {
    50: '#c974a4',
    500: '#ac317f',
    950: '#000000',
  },
}
SCSS
$custom: #ac317f;
$custom-light: #c974a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac317f",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 321.951,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.1771,
    "h": 346
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#AC317F
secondary
#76C392
accent
#DF8049
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC317F

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

Preview Lab → · Contrast checker → · Palette generator →

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