#AC2C87#AC2C87

#AC2C87 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.188 H 342.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC2C87
RGBrgb(172, 44, 135)
HSLhsl(317, 59%, 42%)
HSVhsv(317, 74%, 67%)
CMYKcmyk(0%, 74.4%, 21.5%, 32.5%)
CIE-LABlab(41.73, 59.51, -21.49)
CIE-LCHlch(41.73, 63.27, 340.14°)
OKLaboklab(52.25% 0.1787 -0.0577)
OKLCHoklch(52.25% 0.188 342.1)
XYZxyz(22.2879, 12.3236, 24.1219)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C87 #2CAC51
analogous
#912CAC #AC2C87 #AC2C47
triadic
#AC2C87 #87AC2C #2C87AC
tetradic
#AC2C87 #AC912C #2CAC51 #2C47AC
square
#AC2C87 #AC912C #2CAC51 #2C47AC
split-complementary
#AC2C87 #47AC2C #2CAC91
monochromatic
#4B133A #7B2061 #AC2C87 #D046A8 #DC76BF

Accessibility & contrast

On white

6.06
#AC2C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C87
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C87#FFFFFF#000000##FFFFFF
##AC2C871.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#606A84
Tritanopia (blue-blind)
#B72E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2c87;
/* rgb */ color: rgb(172, 44, 135);
/* oklch */ color: oklch(52.3% 0.188 342.1);
Tailwind
colors: {
  custom: {
    50: '#c972aa',
    500: '#ac2c87',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c87;
$custom-light: #c972aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c87",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 317.344,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.18781,
    "h": 342.1
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#AC2C87
secondary
#70C488
accent
#E27345
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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