#AC2F72#AC2F72

#AC2F72 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.173 H 352.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC2F72
RGBrgb(172, 47, 114)
HSLhsl(328, 57%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 72.7%, 33.7%, 32.5%)
CIE-LABlab(41.25, 55.83, -9.26)
CIE-LCHlch(41.25, 56.60, 350.59°)
OKLaboklab(51.63% 0.1709 -0.0239)
OKLCHoklch(51.63% 0.173 352)
XYZxyz(21.0682, 12.0210, 17.1271)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F72 #2FAC69
analogous
#A72FAC #AC2F72 #AC2F33
triadic
#AC2F72 #72AC2F #2F72AC
tetradic
#AC2F72 #ACA72F #2FAC69 #2F33AC
square
#AC2F72 #ACA72F #2FAC69 #2F33AC
split-complementary
#AC2F72 #33AC2F #2FACA7
monochromatic
#4C1532 #7C2252 #AC2F72 #CE4B91 #DB7BAE

Accessibility & contrast

On white

6.17
#AC2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F72
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F72#FFFFFF#000000##FFFFFF
##AC2F721.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#68696F
Tritanopia (blue-blind)
#B9264C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2f72;
/* rgb */ color: rgb(172, 47, 114);
/* oklch */ color: oklch(51.6% 0.173 352.0);
Tailwind
colors: {
  custom: {
    50: '#c9729a',
    500: '#ac2f72',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f72;
$custom-light: #c9729a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f72",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 327.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.17251,
    "h": 352
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#AC2F72
secondary
#74C399
accent
#E08E47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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