#AC4797#AC4797

#AC4797 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.8% C 0.163 H 336.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC4797
RGBrgb(172, 71, 151)
HSLhsl(312, 42%, 48%)
HSVhsv(312, 59%, 67%)
CMYKcmyk(0%, 58.7%, 12.2%, 32.5%)
CIE-LABlab(46.33, 51.07, -24.05)
CIE-LCHlch(46.33, 56.45, 334.78°)
OKLaboklab(55.84% 0.1491 -0.0651)
OKLCHoklch(55.84% 0.163 336.4)
XYZxyz(24.8527, 15.5134, 30.9576)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4797 #47AC5C
analogous
#8E47AC #AC4797 #AC4765
triadic
#AC4797 #97AC47 #4797AC
tetradic
#AC4797 #AC8E47 #47AC5C #4765AC
square
#AC4797 #AC8E47 #47AC5C #4765AC
split-complementary
#AC4797 #65AC47 #47AC8E
monochromatic
#55234B #813571 #AC4797 #C36DB1 #D599C8

Accessibility & contrast

On white

5.12
#AC4797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AC4797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4797
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4797#FFFFFF#000000##FFFFFF
##AC47971.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#677394
Tritanopia (blue-blind)
#B44C68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac4797;
/* rgb */ color: rgb(172, 71, 151);
/* oklch */ color: oklch(55.8% 0.163 336.4);
Tailwind
colors: {
  custom: {
    50: '#c780b6',
    500: '#ac4797',
    950: '#000000',
  },
}
SCSS
$custom: #ac4797;
$custom-light: #c780b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4797",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 312.475,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.1627,
    "h": 336.4
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#AC4797
secondary
#8EC199
accent
#D17056
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC4797

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

Preview Lab → · Contrast checker → · Palette generator →

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