#AC219C#AC219C

#AC219C is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 333.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC219C
RGBrgb(172, 33, 156)
HSLhsl(307, 68%, 40%)
HSVhsv(307, 81%, 67%)
CMYKcmyk(0%, 80.8%, 9.3%, 32.5%)
CIE-LABlab(41.63, 65.68, -34.40)
CIE-LCHlch(41.63, 74.15, 332.36°)
OKLaboklab(52.51% 0.1904 -0.0945)
OKLCHoklch(52.51% 0.213 333.6)
XYZxyz(23.5581, 12.2608, 32.5719)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219C #21AC31
analogous
#7621AC #AC219C #AC2157
triadic
#AC219C #9CAC21 #219CAC
tetradic
#AC219C #AC7621 #21AC31 #2157AC
square
#AC219C #AC7621 #21AC31 #2157AC
split-complementary
#AC219C #57AC21 #21AC76
monochromatic
#450D3F #79176D #AC219C #D832C5 #E266D3

Accessibility & contrast

On white

6.08
#AC219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219C#FFFFFF#000000##FFFFFF
##AC219C1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B569F
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#B4315F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac219c;
/* rgb */ color: rgb(172, 33, 156);
/* oklch */ color: oklch(52.5% 0.213 333.6);
Tailwind
colors: {
  custom: {
    50: '#c96fb9',
    500: '#ac219c',
    950: '#000000',
  },
}
SCSS
$custom: #ac219c;
$custom-light: #c96fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219c",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 306.906,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.21256,
    "h": 333.6
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#AC219C
secondary
#62C76D
accent
#EB513D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC219C

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

Preview Lab → · Contrast checker → · Palette generator →

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