#AC2C71#AC2C71

#AC2C71 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 352.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC2C71
RGBrgb(172, 44, 113)
HSLhsl(328, 59%, 42%)
HSVhsv(328, 74%, 67%)
CMYKcmyk(0%, 74.4%, 34.3%, 32.5%)
CIE-LABlab(40.84, 56.76, -9.24)
CIE-LCHlch(40.84, 57.51, 350.75°)
OKLaboklab(51.32% 0.1739 -0.0238)
OKLCHoklch(51.32% 0.175 352.2)
XYZxyz(20.8958, 11.7667, 16.7904)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C71 #2CAC67
analogous
#A72CAC #AC2C71 #AC2C31
triadic
#AC2C71 #71AC2C #2C71AC
tetradic
#AC2C71 #ACA72C #2CAC67 #2C31AC
square
#AC2C71 #ACA72C #2CAC67 #2C31AC
split-complementary
#AC2C71 #31AC2C #2CACA7
monochromatic
#4B1331 #7B2051 #AC2C71 #D04690 #DC76AD

Accessibility & contrast

On white

6.26
#AC2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AC2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C71
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C71#FFFFFF#000000##FFFFFF
##AC2C711.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#B9214B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2c71;
/* rgb */ color: rgb(172, 44, 113);
/* oklch */ color: oklch(51.3% 0.175 352.2);
Tailwind
colors: {
  custom: {
    50: '#c97199',
    500: '#ac2c71',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c71;
$custom-light: #c97199;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c71",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 327.656,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.17548,
    "h": 352.2
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#AC2C71
secondary
#70C497
accent
#E28E45
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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