#AC20A6#AC20A6

#AC20A6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 330.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC20A6
RGBrgb(172, 32, 166)
HSLhsl(303, 69%, 40%)
HSVhsv(303, 81%, 67%)
CMYKcmyk(0%, 81.4%, 3.5%, 32.5%)
CIE-LABlab(42.09, 67.44, -39.67)
CIE-LCHlch(42.09, 78.24, 329.54°)
OKLaboklab(53.02% 0.1912 -0.1097)
OKLCHoklch(53.02% 0.22 330.1)
XYZxyz(24.4126, 12.5588, 37.2073)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A6 #20AC26
analogous
#6C20AC #AC20A6 #AC2060
triadic
#AC20A6 #A6AC20 #20A6AC
tetradic
#AC20A6 #AC6C20 #20AC26 #2060AC
square
#AC20A6 #AC6C20 #20AC26 #2060AC
split-complementary
#AC20A6 #60AC20 #20AC6C
monochromatic
#450D42 #781674 #AC20A6 #D931D1 #E264DD

Accessibility & contrast

On white

5.98
#AC20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A6#FFFFFF#000000##FFFFFF
##AC20A61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#B33664
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac20a6;
/* rgb */ color: rgb(172, 32, 166);
/* oklch */ color: oklch(53.0% 0.220 330.1);
Tailwind
colors: {
  custom: {
    50: '#c96fc1',
    500: '#ac20a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a6;
$custom-light: #c96fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a6",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 302.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.22041,
    "h": 330.1
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#AC20A6
secondary
#60C765
accent
#EB443C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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