#AC2D78#AC2D78

#AC2D78 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.178 H 348.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AC2D78
RGBrgb(172, 45, 120)
HSLhsl(325, 59%, 43%)
HSVhsv(325, 74%, 67%)
CMYKcmyk(0%, 73.8%, 30.2%, 32.5%)
CIE-LABlab(41.23, 57.25, -13.02)
CIE-LCHlch(41.23, 58.71, 347.19°)
OKLaboklab(51.69% 0.1746 -0.0341)
OKLCHoklch(51.69% 0.178 348.9)
XYZxyz(21.3429, 12.0059, 18.9591)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D78 #2DAC61
analogous
#A02DAC #AC2D78 #AC2D39
triadic
#AC2D78 #78AC2D #2D78AC
tetradic
#AC2D78 #ACA02D #2DAC61 #2D39AC
square
#AC2D78 #ACA02D #2DAC61 #2D39AC
split-complementary
#AC2D78 #39AC2D #2DACA0
monochromatic
#4B1434 #7B2056 #AC2D78 #CF4797 #DC78B3

Accessibility & contrast

On white

6.18
#AC2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AC2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D78
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D78#FFFFFF#000000##FFFFFF
##AC2D781.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2d78;
/* rgb */ color: rgb(172, 45, 120);
/* oklch */ color: oklch(51.7% 0.178 348.9);
Tailwind
colors: {
  custom: {
    50: '#c9729f',
    500: '#ac2d78',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d78;
$custom-light: #c9729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d78",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 324.567,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.1779,
    "h": 348.9
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#AC2D78
secondary
#71C493
accent
#E28646
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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