#AC2E78#AC2E78

#AC2E78 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.177 H 349.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2E78
RGBrgb(172, 46, 120)
HSLhsl(325, 58%, 43%)
HSVhsv(325, 73%, 67%)
CMYKcmyk(0%, 73.3%, 30.2%, 32.5%)
CIE-LABlab(41.35, 56.90, -12.83)
CIE-LCHlch(41.35, 58.33, 347.29°)
OKLaboklab(51.78% 0.1735 -0.0336)
OKLCHoklch(51.78% 0.177 349)
XYZxyz(21.3815, 12.0831, 18.9719)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E78 #2EAC62
analogous
#A12EAC #AC2E78 #AC2E39
triadic
#AC2E78 #78AC2E #2E78AC
tetradic
#AC2E78 #ACA12E #2EAC62 #2E39AC
square
#AC2E78 #ACA12E #2EAC62 #2E39AC
split-complementary
#AC2E78 #39AC2E #2EACA1
monochromatic
#4B1435 #7C2156 #AC2E78 #CE4997 #DB79B3

Accessibility & contrast

On white

6.15
#AC2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E78
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E78#FFFFFF#000000##FFFFFF
##AC2E781.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#B9284F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2e78;
/* rgb */ color: rgb(172, 46, 120);
/* oklch */ color: oklch(51.8% 0.177 349.0);
Tailwind
colors: {
  custom: {
    50: '#c9729f',
    500: '#ac2e78',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e78;
$custom-light: #c9729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e78",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 324.762,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.17675,
    "h": 349
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#AC2E78
secondary
#72C394
accent
#E18647
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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