#AC2C96#AC2C96

#AC2C96 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 336.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC2C96
RGBrgb(172, 44, 150)
HSLhsl(310, 59%, 42%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 74.4%, 12.8%, 32.5%)
CIE-LABlab(42.42, 61.63, -29.53)
CIE-LCHlch(42.42, 68.34, 334.40°)
OKLaboklab(52.98% 0.1807 -0.0805)
OKLCHoklch(52.98% 0.198 336)
XYZxyz(23.4193, 12.7762, 30.0809)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C96 #2CAC42
analogous
#822CAC #AC2C96 #AC2C56
triadic
#AC2C96 #96AC2C #2C96AC
tetradic
#AC2C96 #AC822C #2CAC42 #2C56AC
square
#AC2C96 #AC822C #2CAC42 #2C56AC
split-complementary
#AC2C96 #56AC2C #2CAC82
monochromatic
#4B1341 #7B206B #AC2C96 #D046B8 #DC76CB

Accessibility & contrast

On white

5.91
#AC2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C96
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C96#FFFFFF#000000##FFFFFF
##AC2C961.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#B5355E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c96;
/* rgb */ color: rgb(172, 44, 150);
/* oklch */ color: oklch(53.0% 0.198 336.0);
Tailwind
colors: {
  custom: {
    50: '#c872b5',
    500: '#ac2c96',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c96;
$custom-light: #c872b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c96",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 310.313,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.19782,
    "h": 336
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#AC2C96
secondary
#70C47E
accent
#E26045
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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