#AC1D96#AC1D96

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

Color values

HEX#AC1D96
RGBrgb(172, 29, 150)
HSLhsl(309, 71%, 39%)
HSVhsv(309, 83%, 67%)
CMYKcmyk(0%, 83.1%, 12.8%, 32.5%)
CIE-LABlab(40.98, 65.77, -31.79)
CIE-LCHlch(40.98, 73.05, 334.20°)
OKLaboklab(51.95% 0.193 -0.0869)
OKLCHoklch(51.95% 0.212 335.8)
XYZxyz(22.9580, 11.8536, 29.9271)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1D96 #1DAC33
analogous
#7B1DAC #AC1D96 #AC1D4F
triadic
#AC1D96 #96AC1D #1D96AC
tetradic
#AC1D96 #AC7B1D #1DAC33 #1D4FAC
square
#AC1D96 #AC7B1D #1DAC33 #1D4FAC
split-complementary
#AC1D96 #4FAC1D #1DAC7B
monochromatic
#430B3B #781468 #AC1D96 #DB2BC0 #E45FD0

Accessibility & contrast

On white

6.23
#AC1D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC1D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1D96
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1D96#FFFFFF#000000##FFFFFF
##AC1D961.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#566893
Tritanopia (blue-blind)
#B52B5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1d96;
/* rgb */ color: rgb(172, 29, 150);
/* oklch */ color: oklch(51.9% 0.212 335.8);
Tailwind
colors: {
  custom: {
    50: '#c96db5',
    500: '#ac1d96',
    950: '#000000',
  },
}
SCSS
$custom: #ac1d96;
$custom-light: #c96db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1d96",
  "rgb": {
    "r": 172,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 309.231,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.21169,
    "h": 335.8
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#AC1D96
secondary
#5CC86D
accent
#EE563A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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