#AC2E72#AC2E72

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

Color values

HEX#AC2E72
RGBrgb(172, 46, 114)
HSLhsl(328, 58%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 73.3%, 33.7%, 32.5%)
CIE-LABlab(41.12, 56.19, -9.45)
CIE-LCHlch(41.12, 56.97, 350.46°)
OKLaboklab(51.54% 0.172 -0.0244)
OKLCHoklch(51.54% 0.174 351.9)
XYZxyz(21.0287, 11.9420, 17.1140)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E72 #2EAC68
analogous
#A72EAC #AC2E72 #AC2E33
triadic
#AC2E72 #72AC2E #2E72AC
tetradic
#AC2E72 #ACA72E #2EAC68 #2E33AC
square
#AC2E72 #ACA72E #2EAC68 #2E33AC
split-complementary
#AC2E72 #33AC2E #2EACA7
monochromatic
#4B1432 #7C2152 #AC2E72 #CE4991 #DB79AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2E72#FFFFFF#000000##FFFFFF
##AC2E721.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)
#445274
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#B9244C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2e72;
/* rgb */ color: rgb(172, 46, 114);
/* oklch */ color: oklch(51.5% 0.174 351.9);
Tailwind
colors: {
  custom: {
    50: '#c9729a',
    500: '#ac2e72',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e72;
$custom-light: #c9729a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e72",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 327.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.17368,
    "h": 351.9
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#AC2E72
secondary
#72C398
accent
#E18E47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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