#AC4E87#AC4E87

#AC4E87 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.1% C 0.140 H 345.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC4E87
RGBrgb(172, 78, 135)
HSLhsl(324, 38%, 49%)
HSVhsv(324, 55%, 67%)
CMYKcmyk(0%, 54.7%, 21.5%, 32.5%)
CIE-LABlab(46.94, 45.24, -13.51)
CIE-LCHlch(46.94, 47.22, 343.37°)
OKLaboklab(56.08% 0.1354 -0.0358)
OKLCHoklch(56.08% 0.14 345.2)
XYZxyz(24.1115, 15.9707, 24.7297)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4E87 #4EAC73
analogous
#A24EAC #AC4E87 #AC4E58
triadic
#AC4E87 #87AC4E #4E87AC
tetradic
#AC4E87 #ACA24E #4EAC73 #4E58AC
square
#AC4E87 #ACA24E #4EAC73 #4E58AC
split-complementary
#AC4E87 #58AC4E #4EACA2
monochromatic
#582845 #823B66 #AC4E87 #C176A4 #D4A0C0

Accessibility & contrast

On white

5.01
#AC4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AC4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4E87
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4E87#FFFFFF#000000##FFFFFF
##AC4E871.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566589
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#B64D64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac4e87;
/* rgb */ color: rgb(172, 78, 135);
/* oklch */ color: oklch(56.1% 0.140 345.2);
Tailwind
colors: {
  custom: {
    50: '#c783aa',
    500: '#ac4e87',
    950: '#000000',
  },
}
SCSS
$custom: #ac4e87;
$custom-light: #c783aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4e87",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 323.617,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.14002,
    "h": 345.2
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#AC4E87
secondary
#95C1A6
accent
#CE885A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AC4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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