#AC2C97#AC2C97

#AC2C97 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 335.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC2C97
RGBrgb(172, 44, 151)
HSLhsl(310, 59%, 42%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 74.4%, 12.2%, 32.5%)
CIE-LABlab(42.47, 61.78, -30.05)
CIE-LCHlch(42.47, 68.70, 334.06°)
OKLaboklab(53.04% 0.1808 -0.082)
OKLCHoklch(53.04% 0.199 335.6)
XYZxyz(23.5002, 12.8085, 30.5068)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C97 #2CAC41
analogous
#812CAC #AC2C97 #AC2C57
triadic
#AC2C97 #97AC2C #2C97AC
tetradic
#AC2C97 #AC812C #2CAC41 #2C57AC
square
#AC2C97 #AC812C #2CAC41 #2C57AC
split-complementary
#AC2C97 #57AC2C #2CAC81
monochromatic
#4B1341 #7B206C #AC2C97 #D046B9 #DC76CB

Accessibility & contrast

On white

5.90
#AC2C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC2C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C97
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C97#FFFFFF#000000##FFFFFF
##AC2C971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#B5365F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c97;
/* rgb */ color: rgb(172, 44, 151);
/* oklch */ color: oklch(53.0% 0.199 335.6);
Tailwind
colors: {
  custom: {
    50: '#c872b6',
    500: '#ac2c97',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c97;
$custom-light: #c872b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c97",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 309.844,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.19852,
    "h": 335.6
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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