#AC317E#AC317E

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

Color values

HEX#AC317E
RGBrgb(172, 49, 126)
HSLhsl(322, 56%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 71.5%, 26.7%, 32.5%)
CIE-LABlab(41.96, 56.59, -15.60)
CIE-LCHlch(41.96, 58.70, 344.59°)
OKLaboklab(52.3% 0.1716 -0.0413)
OKLCHoklch(52.3% 0.177 346.5)
XYZxyz(21.8784, 12.4760, 20.9905)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC317E #31AC5F
analogous
#9C31AC #AC317E #AC3140
triadic
#AC317E #7EAC31 #317EAC
tetradic
#AC317E #AC9C31 #31AC5F #3140AC
square
#AC317E #AC9C31 #31AC5F #3140AC
split-complementary
#AC317E #40AC31 #31AC9C
monochromatic
#4D1638 #7C235B #AC317E #CC4E9D #DA7DB7

Accessibility & contrast

On white

6.01
#AC317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC317E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC317E#FFFFFF#000000##FFFFFF
##AC317E1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#B82E53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac317e;
/* rgb */ color: rgb(172, 49, 126);
/* oklch */ color: oklch(52.3% 0.177 346.5);
Tailwind
colors: {
  custom: {
    50: '#c974a3',
    500: '#ac317e',
    950: '#000000',
  },
}
SCSS
$custom: #ac317e;
$custom-light: #c974a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac317e",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 322.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.17651,
    "h": 346.5
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC317E

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

Preview Lab → · Contrast checker → · Palette generator →

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