#AC2C99#AC2C99

#AC2C99 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.200 H 334.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC2C99
RGBrgb(172, 44, 153)
HSLhsl(309, 59%, 42%)
HSVhsv(309, 74%, 67%)
CMYKcmyk(0%, 74.4%, 11%, 32.5%)
CIE-LABlab(42.57, 62.08, -31.11)
CIE-LCHlch(42.57, 69.44, 333.39°)
OKLaboklab(53.14% 0.1809 -0.085)
OKLCHoklch(53.14% 0.2 334.8)
XYZxyz(23.6640, 12.8740, 31.3694)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C99 #2CAC3F
analogous
#7F2CAC #AC2C99 #AC2C59
triadic
#AC2C99 #99AC2C #2C99AC
tetradic
#AC2C99 #AC7F2C #2CAC3F #2C59AC
square
#AC2C99 #AC7F2C #2CAC3F #2C59AC
split-complementary
#AC2C99 #59AC2C #2CAC7F
monochromatic
#4B1342 #7B206E #AC2C99 #D046BB #DC76CD

Accessibility & contrast

On white

5.88
#AC2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C99
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C99#FFFFFF#000000##FFFFFF
##AC2C991.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B43760
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c99;
/* rgb */ color: rgb(172, 44, 153);
/* oklch */ color: oklch(53.1% 0.200 334.8);
Tailwind
colors: {
  custom: {
    50: '#c872b7',
    500: '#ac2c99',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c99;
$custom-light: #c872b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c99",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 308.906,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.19993,
    "h": 334.8
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#AC2C99
secondary
#70C47C
accent
#E25D45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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