#AC5197#AC5197

#AC5197 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.147 H 337.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC5197
RGBrgb(172, 81, 151)
HSLhsl(314, 36%, 50%)
HSVhsv(314, 53%, 67%)
CMYKcmyk(0%, 52.9%, 12.2%, 32.5%)
CIE-LABlab(48.12, 46.26, -21.28)
CIE-LCHlch(48.12, 50.92, 335.30°)
OKLaboklab(57.17% 0.135 -0.0574)
OKLCHoklch(57.17% 0.147 337)
XYZxyz(25.5418, 16.8917, 31.1873)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5197 #51AC66
analogous
#9451AC #AC5197 #AC516A
triadic
#AC5197 #97AC51 #5197AC
tetradic
#AC5197 #AC9451 #51AC66 #516AAC
square
#AC5197 #AC9451 #51AC66 #516AAC
split-complementary
#AC5197 #6AAC51 #51AC94
monochromatic
#592A4E #823D72 #AC5197 #C07AB0 #D4A3C9

Accessibility & contrast

On white

4.80
#AC5197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AC5197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5197
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5197#FFFFFF#000000##FFFFFF
##AC51971.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#6D7795
Tritanopia (blue-blind)
#B4556D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac5197;
/* rgb */ color: rgb(172, 81, 151);
/* oklch */ color: oklch(57.2% 0.147 337.0);
Tailwind
colors: {
  custom: {
    50: '#c786b5',
    500: '#ac5197',
    950: '#000000',
  },
}
SCSS
$custom: #ac5197;
$custom-light: #c786b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5197",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 313.846,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.14667,
    "h": 337
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#AC5197
secondary
#98C1A1
accent
#CC765C
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC5197

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

Preview Lab → · Contrast checker → · Palette generator →

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