#AC5299#AC5299

#AC5299 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.147 H 336.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AC5299
RGBrgb(172, 82, 153)
HSLhsl(313, 35%, 50%)
HSVhsv(313, 52%, 67%)
CMYKcmyk(0%, 52.3%, 11%, 32.5%)
CIE-LABlab(48.39, 46.10, -22.05)
CIE-LCHlch(48.39, 51.10, 334.44°)
OKLaboklab(57.4% 0.1339 -0.0596)
OKLCHoklch(57.4% 0.147 336)
XYZxyz(25.7805, 17.1070, 32.0749)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5299 #52AC65
analogous
#9252AC #AC5299 #AC526C
triadic
#AC5299 #99AC52 #5299AC
tetradic
#AC5299 #AC9252 #52AC65 #526CAC
square
#AC5299 #AC9252 #52AC65 #526CAC
split-complementary
#AC5299 #6CAC52 #52AC92
monochromatic
#592A4F #833E74 #AC5299 #C07BB2 #D4A5CA

Accessibility & contrast

On white

4.75
#AC5299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AC5299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5299
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5299#FFFFFF#000000##FFFFFF
##AC52991.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#B4566E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac5299;
/* rgb */ color: rgb(172, 82, 153);
/* oklch */ color: oklch(57.4% 0.147 336.0);
Tailwind
colors: {
  custom: {
    50: '#c786b7',
    500: '#ac5299',
    950: '#000000',
  },
}
SCSS
$custom: #ac5299;
$custom-light: #c786b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5299",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 312.667,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.1466,
    "h": 336
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#AC5299
secondary
#99C1A1
accent
#CB745C
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC5299

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

Preview Lab → · Contrast checker → · Palette generator →

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