#AC487D#AC487D

#AC487D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.144 H 349.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC487D
RGBrgb(172, 72, 125)
HSLhsl(328, 41%, 48%)
HSVhsv(328, 58%, 67%)
CMYKcmyk(0%, 58.1%, 27.3%, 32.5%)
CIE-LABlab(45.48, 46.72, -9.66)
CIE-LCHlch(45.48, 47.71, 348.32°)
OKLaboklab(54.88% 0.1414 -0.0252)
OKLCHoklch(54.88% 0.144 349.9)
XYZxyz(23.0332, 14.8882, 21.0587)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC487D #48AC77
analogous
#A948AC #AC487D #AC484B
triadic
#AC487D #7DAC48 #487DAC
tetradic
#AC487D #ACA948 #48AC77 #484BAC
square
#AC487D #ACA948 #48AC77 #484BAC
split-complementary
#AC487D #4BAC48 #48ACA9
monochromatic
#56243E #81365E #AC487D #C36F9B #D59AB9

Accessibility & contrast

On white

5.28
#AC487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AC487D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC487D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC487D#FFFFFF#000000##FFFFFF
##AC487D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#70727B
Tritanopia (blue-blind)
#B7445D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac487d;
/* rgb */ color: rgb(172, 72, 125);
/* oklch */ color: oklch(54.9% 0.144 349.9);
Tailwind
colors: {
  custom: {
    50: '#c880a2',
    500: '#ac487d',
    950: '#000000',
  },
}
SCSS
$custom: #ac487d;
$custom-light: #c880a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac487d",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 328.2,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.14359,
    "h": 349.9
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#AC487D
secondary
#8FC1A6
accent
#D19057
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AC487D

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

Preview Lab → · Contrast checker → · Palette generator →

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