#AC4987#AC4987

#AC4987 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.148 H 344.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC4987
RGBrgb(172, 73, 135)
HSLhsl(322, 40%, 48%)
HSVhsv(322, 58%, 67%)
CMYKcmyk(0%, 57.6%, 21.5%, 32.5%)
CIE-LABlab(46.02, 47.67, -14.90)
CIE-LCHlch(46.02, 49.94, 342.64°)
OKLaboklab(55.41% 0.1427 -0.0395)
OKLCHoklch(55.41% 0.148 344.5)
XYZxyz(23.7696, 15.2871, 24.6158)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4987 #49AC6E
analogous
#9F49AC #AC4987 #AC4956
triadic
#AC4987 #87AC49 #4987AC
tetradic
#AC4987 #AC9F49 #49AC6E #4956AC
square
#AC4987 #AC9F49 #49AC6E #4956AC
split-complementary
#AC4987 #56AC49 #49AC9F
monochromatic
#562544 #813765 #AC4987 #C270A3 #D59BBF

Accessibility & contrast

On white

5.18
#AC4987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AC4987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4987
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4987#FFFFFF#000000##FFFFFF
##AC49871.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516389
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#B64862
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac4987;
/* rgb */ color: rgb(172, 73, 135);
/* oklch */ color: oklch(55.4% 0.148 344.5);
Tailwind
colors: {
  custom: {
    50: '#c780aa',
    500: '#ac4987',
    950: '#000000',
  },
}
SCSS
$custom: #ac4987;
$custom-light: #c780aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4987",
  "rgb": {
    "r": 172,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 322.424,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.14808,
    "h": 344.5
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#AC4987
secondary
#90C1A2
accent
#D08558
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AC4987

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

Preview Lab → · Contrast checker → · Palette generator →

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