#AC5199#AC5199

#AC5199 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.148 H 336.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AC5199
RGBrgb(172, 81, 153)
HSLhsl(313, 36%, 50%)
HSVhsv(313, 53%, 67%)
CMYKcmyk(0%, 52.9%, 11%, 32.5%)
CIE-LABlab(48.21, 46.59, -22.34)
CIE-LCHlch(48.21, 51.67, 334.38°)
OKLaboklab(57.26% 0.1354 -0.0604)
OKLCHoklch(57.26% 0.148 336)
XYZxyz(25.7056, 16.9572, 32.0500)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5199 #51AC64
analogous
#9151AC #AC5199 #AC516C
triadic
#AC5199 #99AC51 #5199AC
tetradic
#AC5199 #AC9151 #51AC64 #516CAC
square
#AC5199 #AC9151 #51AC64 #516CAC
split-complementary
#AC5199 #6CAC51 #51AC91
monochromatic
#592A4F #823D74 #AC5199 #C07AB2 #D4A3CA

Accessibility & contrast

On white

4.78
#AC5199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AC5199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5199
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5199#FFFFFF#000000##FFFFFF
##AC51991.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#6C7797
Tritanopia (blue-blind)
#B4556E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac5199;
/* rgb */ color: rgb(172, 81, 153);
/* oklch */ color: oklch(57.3% 0.148 336.0);
Tailwind
colors: {
  custom: {
    50: '#c786b7',
    500: '#ac5199',
    950: '#000000',
  },
}
SCSS
$custom: #ac5199;
$custom-light: #c786b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5199",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 312.527,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.14827,
    "h": 336
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#AC5199
secondary
#98C1A0
accent
#CC735C
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC5199

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

Preview Lab → · Contrast checker → · Palette generator →

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