#AC417C#AC417C

#AC417C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.154 H 349.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AC417C
RGBrgb(172, 65, 124)
HSLhsl(327, 45%, 46%)
HSVhsv(327, 62%, 67%)
CMYKcmyk(0%, 62.2%, 27.9%, 32.5%)
CIE-LABlab(44.25, 49.82, -10.91)
CIE-LCHlch(44.25, 51.00, 347.65°)
OKLaboklab(53.95% 0.151 -0.0285)
OKLCHoklch(53.95% 0.154 349.3)
XYZxyz(22.5426, 14.0087, 20.5816)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC417C #41AC71
analogous
#A741AC #AC417C #AC4147
triadic
#AC417C #7CAC41 #417CAC
tetradic
#AC417C #ACA741 #41AC71 #4147AC
square
#AC417C #ACA741 #41AC71 #4147AC
split-complementary
#AC417C #47AC41 #41ACA7
monochromatic
#531F3C #80305C #AC417C #C5659A #D692B7

Accessibility & contrast

On white

5.52
#AC417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AC417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC417C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC417C#FFFFFF#000000##FFFFFF
##AC417C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7E
Deuteranopia (green-blind)
#6C7079
Tritanopia (blue-blind)
#B83D59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac417c;
/* rgb */ color: rgb(172, 65, 124);
/* oklch */ color: oklch(54.0% 0.154 349.3);
Tailwind
colors: {
  custom: {
    50: '#c87ca2',
    500: '#ac417c',
    950: '#000000',
  },
}
SCSS
$custom: #ac417c;
$custom-light: #c87ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac417c",
  "rgb": {
    "r": 172,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 326.916,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.15368,
    "h": 349.3
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#AC417C
secondary
#88C1A1
accent
#D58D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AC417C

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

Preview Lab → · Contrast checker → · Palette generator →

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