#AC2C9A#AC2C9A

#AC2C9A is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.201 H 334.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC2C9A
RGBrgb(172, 44, 154)
HSLhsl(308, 59%, 42%)
HSVhsv(308, 74%, 67%)
CMYKcmyk(0%, 74.4%, 10.5%, 32.5%)
CIE-LABlab(42.62, 62.23, -31.63)
CIE-LCHlch(42.62, 69.81, 333.06°)
OKLaboklab(53.19% 0.181 -0.0866)
OKLCHoklch(53.19% 0.201 334.4)
XYZxyz(23.7469, 12.9072, 31.8062)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C9A #2CAC3E
analogous
#7E2CAC #AC2C9A #AC2C5A
triadic
#AC2C9A #9AAC2C #2C9AAC
tetradic
#AC2C9A #AC7E2C #2CAC3E #2C5AAC
square
#AC2C9A #AC7E2C #2CAC3E #2C5AAC
split-complementary
#AC2C9A #5AAC2C #2CAC7E
monochromatic
#4B1343 #7B206E #AC2C9A #D046BC #DC76CE

Accessibility & contrast

On white

5.86
#AC2C9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC2C9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C9A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C9A#FFFFFF#000000##FFFFFF
##AC2C9A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#B43760
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2c9a;
/* rgb */ color: rgb(172, 44, 154);
/* oklch */ color: oklch(53.2% 0.201 334.4);
Tailwind
colors: {
  custom: {
    50: '#c872b8',
    500: '#ac2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c9a;
$custom-light: #c872b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c9a",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 308.438,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.20065,
    "h": 334.4
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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