#AC487B#AC487B

#AC487B is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.142 H 351.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AC487B
RGBrgb(172, 72, 123)
HSLhsl(329, 41%, 48%)
HSVhsv(329, 58%, 67%)
CMYKcmyk(0%, 58.1%, 28.5%, 32.5%)
CIE-LABlab(45.41, 46.45, -8.55)
CIE-LCHlch(45.41, 47.23, 349.57°)
OKLaboklab(54.81% 0.1408 -0.0221)
OKLCHoklch(54.81% 0.143 351.1)
XYZxyz(22.9067, 14.8376, 20.3926)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC487B #48AC79
analogous
#AB48AC #AC487B #AC4849
triadic
#AC487B #7BAC48 #487BAC
tetradic
#AC487B #ACAB48 #48AC79 #4849AC
square
#AC487B #ACAB48 #48AC79 #4849AC
split-complementary
#AC487B #49AC48 #48ACAB
monochromatic
#56243D #81365C #AC487B #C36F99 #D59AB8

Accessibility & contrast

On white

5.29
#AC487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AC487B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC487B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC487B#FFFFFF#000000##FFFFFF
##AC487B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607D
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#B8445C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac487b;
/* rgb */ color: rgb(172, 72, 123);
/* oklch */ color: oklch(54.8% 0.142 351.1);
Tailwind
colors: {
  custom: {
    50: '#c880a1',
    500: '#ac487b',
    950: '#000000',
  },
}
SCSS
$custom: #ac487b;
$custom-light: #c880a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac487b",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 329.4,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.1425,
    "h": 351.1
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#AC487B
secondary
#8FC1A7
accent
#D19357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AC487B

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

Preview Lab → · Contrast checker → · Palette generator →

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