#AC518F#AC518F

#AC518F is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.141 H 341.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC518F
RGBrgb(172, 81, 143)
HSLhsl(319, 36%, 50%)
HSVhsv(319, 53%, 67%)
CMYKcmyk(0%, 52.9%, 16.9%, 32.5%)
CIE-LABlab(47.80, 44.97, -17.00)
CIE-LCHlch(47.80, 48.08, 339.30°)
OKLaboklab(56.83% 0.133 -0.0454)
OKLCHoklch(56.83% 0.141 341.1)
XYZxyz(24.9140, 16.6406, 27.8810)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC518F #51AC6E
analogous
#9C51AC #AC518F #AC5162
triadic
#AC518F #8FAC51 #518FAC
tetradic
#AC518F #AC9C51 #51AC6E #5162AC
square
#AC518F #AC9C51 #51AC6E #5162AC
split-complementary
#AC518F #62AC51 #51AC9C
monochromatic
#592A4A #823D6C #AC518F #C07AAA #D4A3C4

Accessibility & contrast

On white

4.85
#AC518F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AC518F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC518F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC518F#FFFFFF#000000##FFFFFF
##AC518F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B55269
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac518f;
/* rgb */ color: rgb(172, 81, 143);
/* oklch */ color: oklch(56.8% 0.141 341.1);
Tailwind
colors: {
  custom: {
    50: '#c785b0',
    500: '#ac518f',
    950: '#000000',
  },
}
SCSS
$custom: #ac518f;
$custom-light: #c785b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac518f",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 319.121,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.14058,
    "h": 341.1
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#AC518F
secondary
#98C1A5
accent
#CC805C
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AC518F

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

Preview Lab → · Contrast checker → · Palette generator →

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