#AC2D97#AC2D97

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

Color values

HEX#AC2D97
RGBrgb(172, 45, 151)
HSLhsl(310, 59%, 43%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 73.8%, 12.2%, 32.5%)
CIE-LABlab(42.59, 61.45, -29.88)
CIE-LCHlch(42.59, 68.33, 334.07°)
OKLaboklab(53.12% 0.1798 -0.0815)
OKLCHoklch(53.12% 0.197 335.6)
XYZxyz(23.5379, 12.8839, 30.5193)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D97 #2DAC42
analogous
#812DAC #AC2D97 #AC2D58
triadic
#AC2D97 #97AC2D #2D97AC
tetradic
#AC2D97 #AC812D #2DAC42 #2D58AC
square
#AC2D97 #AC812D #2DAC42 #2D58AC
split-complementary
#AC2D97 #58AC2D #2DAC81
monochromatic
#4B1442 #7B206C #AC2D97 #CF47B8 #DC78CB

Accessibility & contrast

On white

5.87
#AC2D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2D97
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D97#FFFFFF#000000##FFFFFF
##AC2D971.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#5B6B94
Tritanopia (blue-blind)
#B5375F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d97;
/* rgb */ color: rgb(172, 45, 151);
/* oklch */ color: oklch(53.1% 0.197 335.6);
Tailwind
colors: {
  custom: {
    50: '#c873b6',
    500: '#ac2d97',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d97;
$custom-light: #c873b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d97",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 309.921,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.19743,
    "h": 335.6
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#AC2D97
secondary
#71C47F
accent
#E26046
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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