#AC2C78#AC2C78

#AC2C78 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.179 H 348.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2C78
RGBrgb(172, 44, 120)
HSLhsl(324, 59%, 42%)
HSVhsv(324, 74%, 67%)
CMYKcmyk(0%, 74.4%, 30.2%, 32.5%)
CIE-LABlab(41.11, 57.58, -13.20)
CIE-LCHlch(41.11, 59.08, 347.09°)
OKLaboklab(51.6% 0.1757 -0.0346)
OKLCHoklch(51.6% 0.179 348.9)
XYZxyz(21.3052, 11.9305, 18.9465)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C78 #2CAC60
analogous
#A02CAC #AC2C78 #AC2C38
triadic
#AC2C78 #78AC2C #2C78AC
tetradic
#AC2C78 #ACA02C #2CAC60 #2C38AC
square
#AC2C78 #ACA02C #2CAC60 #2C38AC
split-complementary
#AC2C78 #38AC2C #2CACA0
monochromatic
#4B1334 #7B2056 #AC2C78 #D04698 #DC76B3

Accessibility & contrast

On white

6.20
#AC2C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC2C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C78
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C78#FFFFFF#000000##FFFFFF
##AC2C781.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#B9254E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c78;
/* rgb */ color: rgb(172, 44, 120);
/* oklch */ color: oklch(51.6% 0.179 348.9);
Tailwind
colors: {
  custom: {
    50: '#c9719f',
    500: '#ac2c78',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c78;
$custom-light: #c9719f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c78",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 324.375,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.17904,
    "h": 348.9
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#AC2C78
secondary
#70C492
accent
#E28545
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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