#AC2C82#AC2C82

#AC2C82 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 344.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC2C82
RGBrgb(172, 44, 130)
HSLhsl(320, 59%, 42%)
HSVhsv(320, 74%, 67%)
CMYKcmyk(0%, 74.4%, 24.4%, 32.5%)
CIE-LABlab(41.51, 58.85, -18.75)
CIE-LCHlch(41.51, 61.76, 342.32°)
OKLaboklab(52.03% 0.1778 -0.05)
OKLCHoklch(52.03% 0.185 344.3)
XYZxyz(21.9441, 12.1861, 22.3113)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C82 #2CAC56
analogous
#962CAC #AC2C82 #AC2C42
triadic
#AC2C82 #82AC2C #2C82AC
tetradic
#AC2C82 #AC962C #2CAC56 #2C42AC
square
#AC2C82 #AC962C #2CAC56 #2C42AC
split-complementary
#AC2C82 #42AC2C #2CAC96
monochromatic
#4B1338 #7B205D #AC2C82 #D046A2 #DC76BB

Accessibility & contrast

On white

6.11
#AC2C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC2C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C82
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C82#FFFFFF#000000##FFFFFF
##AC2C821.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#B72B53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2c82;
/* rgb */ color: rgb(172, 44, 130);
/* oklch */ color: oklch(52.0% 0.185 344.3);
Tailwind
colors: {
  custom: {
    50: '#c972a6',
    500: '#ac2c82',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c82;
$custom-light: #c972a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c82",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 319.688,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.18473,
    "h": 344.3
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#AC2C82
secondary
#70C48B
accent
#E27945
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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