#AC2C81#AC2C81

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

Color values

HEX#AC2C81
RGBrgb(172, 44, 129)
HSLhsl(320, 59%, 42%)
HSVhsv(320, 74%, 67%)
CMYKcmyk(0%, 74.4%, 25%, 32.5%)
CIE-LABlab(41.47, 58.72, -18.20)
CIE-LCHlch(41.47, 61.47, 342.77°)
OKLaboklab(51.98% 0.1776 -0.0485)
OKLCHoklch(51.98% 0.184 344.7)
XYZxyz(21.8773, 12.1593, 21.9595)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C81 #2CAC57
analogous
#972CAC #AC2C81 #AC2C41
triadic
#AC2C81 #81AC2C #2C81AC
tetradic
#AC2C81 #AC972C #2CAC57 #2C41AC
square
#AC2C81 #AC972C #2CAC57 #2C41AC
split-complementary
#AC2C81 #41AC2C #2CAC97
monochromatic
#4B1338 #7B205C #AC2C81 #D046A1 #DC76BA

Accessibility & contrast

On white

6.12
#AC2C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC2C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C81
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C81#FFFFFF#000000##FFFFFF
##AC2C811.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#626A7E
Tritanopia (blue-blind)
#B82A53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2c81;
/* rgb */ color: rgb(172, 44, 129);
/* oklch */ color: oklch(52.0% 0.184 344.7);
Tailwind
colors: {
  custom: {
    50: '#c972a5',
    500: '#ac2c81',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c81;
$custom-light: #c972a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c81",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 320.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.18414,
    "h": 344.7
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#AC2C81
secondary
#70C48C
accent
#E27A45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2C81

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

Preview Lab → · Contrast checker → · Palette generator →

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