#AC1D97#AC1D97

#AC1D97 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 335.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AC1D97
RGBrgb(172, 29, 151)
HSLhsl(309, 71%, 39%)
HSVhsv(309, 83%, 67%)
CMYKcmyk(0%, 83.1%, 12.2%, 32.5%)
CIE-LABlab(41.03, 65.92, -32.32)
CIE-LCHlch(41.03, 73.41, 333.88°)
OKLaboklab(52% 0.1931 -0.0884)
OKLCHoklch(52% 0.212 335.4)
XYZxyz(23.0389, 11.8859, 30.3530)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1D97 #1DAC32
analogous
#7A1DAC #AC1D97 #AC1D50
triadic
#AC1D97 #97AC1D #1D97AC
tetradic
#AC1D97 #AC7A1D #1DAC32 #1D50AC
square
#AC1D97 #AC7A1D #1DAC32 #1D50AC
split-complementary
#AC1D97 #50AC1D #1DAC7A
monochromatic
#430B3B #781469 #AC1D97 #DB2BC1 #E45FD1

Accessibility & contrast

On white

6.22
#AC1D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC1D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1D97
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1D97#FFFFFF#000000##FFFFFF
##AC1D971.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549A
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#B52C5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1d97;
/* rgb */ color: rgb(172, 29, 151);
/* oklch */ color: oklch(52.0% 0.212 335.4);
Tailwind
colors: {
  custom: {
    50: '#c96db6',
    500: '#ac1d97',
    950: '#000000',
  },
}
SCSS
$custom: #ac1d97;
$custom-light: #c96db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1d97",
  "rgb": {
    "r": 172,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 308.811,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.21235,
    "h": 335.4
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#AC1D97
secondary
#5CC86C
accent
#EE543A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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