#AC5397#AC5397

#AC5397 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.143 H 337.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AC5397
RGBrgb(172, 83, 151)
HSLhsl(314, 35%, 50%)
HSVhsv(314, 52%, 67%)
CMYKcmyk(0%, 51.7%, 12.2%, 32.5%)
CIE-LABlab(48.50, 45.26, -20.70)
CIE-LCHlch(48.50, 49.77, 335.43°)
OKLaboklab(57.45% 0.132 -0.0558)
OKLCHoklch(57.45% 0.143 337.1)
XYZxyz(25.6926, 17.1934, 31.2376)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5397 #53AC68
analogous
#9453AC #AC5397 #AC536B
triadic
#AC5397 #97AC53 #5397AC
tetradic
#AC5397 #AC9453 #53AC68 #536BAC
square
#AC5397 #AC9453 #53AC68 #536BAC
split-complementary
#AC5397 #6BAC53 #53AC94
monochromatic
#592B4F #833F73 #AC5397 #C07CB0 #D4A6C9

Accessibility & contrast

On white

4.73
#AC5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AC5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5397
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5397#FFFFFF#000000##FFFFFF
##AC53971.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#B4566E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac5397;
/* rgb */ color: rgb(172, 83, 151);
/* oklch */ color: oklch(57.5% 0.143 337.1);
Tailwind
colors: {
  custom: {
    50: '#c787b5',
    500: '#ac5397',
    950: '#000000',
  },
}
SCSS
$custom: #ac5397;
$custom-light: #c787b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5397",
  "rgb": {
    "r": 172,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 314.157,
    "s": 34.902,
    "l": 50
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.14333,
    "h": 337.1
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#AC5397
secondary
#99C1A3
accent
#CB775D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC5397

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

Preview Lab → · Contrast checker → · Palette generator →

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