#AC4897#AC4897

#AC4897 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.161 H 336.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC4897
RGBrgb(172, 72, 151)
HSLhsl(313, 41%, 48%)
HSVhsv(313, 58%, 67%)
CMYKcmyk(0%, 58.1%, 12.2%, 32.5%)
CIE-LABlab(46.50, 50.60, -23.78)
CIE-LCHlch(46.50, 55.91, 334.83°)
OKLaboklab(55.97% 0.1477 -0.0644)
OKLCHoklch(55.97% 0.161 336.4)
XYZxyz(24.9168, 15.6417, 30.9790)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4897 #48AC5D
analogous
#8F48AC #AC4897 #AC4865
triadic
#AC4897 #97AC48 #4897AC
tetradic
#AC4897 #AC8F48 #48AC5D #4865AC
square
#AC4897 #AC8F48 #48AC5D #4865AC
split-complementary
#AC4897 #65AC48 #48AC8F
monochromatic
#56244B #813671 #AC4897 #C36FB1 #D59AC8

Accessibility & contrast

On white

5.09
#AC4897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AC4897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4897
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4897#FFFFFF#000000##FFFFFF
##AC48971.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659A
Deuteranopia (green-blind)
#677494
Tritanopia (blue-blind)
#B44D69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac4897;
/* rgb */ color: rgb(172, 72, 151);
/* oklch */ color: oklch(56.0% 0.161 336.4);
Tailwind
colors: {
  custom: {
    50: '#c780b5',
    500: '#ac4897',
    950: '#000000',
  },
}
SCSS
$custom: #ac4897;
$custom-light: #c780b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4897",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 312.6,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.16115,
    "h": 336.4
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#AC4897
secondary
#8FC199
accent
#D17157
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC4897

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

Preview Lab → · Contrast checker → · Palette generator →

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