#AC20A1#AC20A1

#AC20A1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.217 H 331.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AC20A1
RGBrgb(172, 32, 161)
HSLhsl(305, 69%, 40%)
HSVhsv(305, 81%, 67%)
CMYKcmyk(0%, 81.4%, 6.4%, 32.5%)
CIE-LABlab(41.81, 66.68, -37.12)
CIE-LCHlch(41.81, 76.31, 330.90°)
OKLaboklab(52.73% 0.1912 -0.1023)
OKLCHoklch(52.73% 0.217 331.9)
XYZxyz(23.9629, 12.3789, 34.8386)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A1 #20AC2B
analogous
#7120AC #AC20A1 #AC205B
triadic
#AC20A1 #A1AC20 #20A1AC
tetradic
#AC20A1 #AC7120 #20AC2B #205BAC
square
#AC20A1 #AC7120 #20AC2B #205BAC
split-complementary
#AC20A1 #5BAC20 #20AC71
monochromatic
#450D40 #781671 #AC20A1 #D931CB #E264D8

Accessibility & contrast

On white

6.04
#AC20A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC20A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A1#FFFFFF#000000##FFFFFF
##AC20A11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#B33361
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac20a1;
/* rgb */ color: rgb(172, 32, 161);
/* oklch */ color: oklch(52.7% 0.217 331.9);
Tailwind
colors: {
  custom: {
    50: '#c96ebd',
    500: '#ac20a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a1;
$custom-light: #c96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a1",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 304.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.21686,
    "h": 331.9
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#AC20A1
secondary
#60C769
accent
#EB4A3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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