#AC20A3#AC20A3

#AC20A3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.218 H 331.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC20A3
RGBrgb(172, 32, 163)
HSLhsl(304, 69%, 40%)
HSVhsv(304, 81%, 67%)
CMYKcmyk(0%, 81.4%, 5.2%, 32.5%)
CIE-LABlab(41.92, 66.98, -38.14)
CIE-LCHlch(41.92, 77.08, 330.34°)
OKLaboklab(52.85% 0.1912 -0.1053)
OKLCHoklch(52.85% 0.218 331.2)
XYZxyz(24.1406, 12.4500, 35.7749)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC20A3 #20AC29
analogous
#6F20AC #AC20A3 #AC205D
triadic
#AC20A3 #A3AC20 #20A3AC
tetradic
#AC20A3 #AC6F20 #20AC29 #205DAC
square
#AC20A3 #AC6F20 #20AC29 #205DAC
split-complementary
#AC20A3 #5DAC20 #20AC6F
monochromatic
#450D41 #781672 #AC20A3 #D931CE #E264DA

Accessibility & contrast

On white

6.02
#AC20A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC20A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC20A3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC20A3#FFFFFF#000000##FFFFFF
##AC20A31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A6
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#B33562
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac20a3;
/* rgb */ color: rgb(172, 32, 163);
/* oklch */ color: oklch(52.8% 0.218 331.2);
Tailwind
colors: {
  custom: {
    50: '#c96fbf',
    500: '#ac20a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac20a3;
$custom-light: #c96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac20a3",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 303.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.52845,
    "c": 0.21828,
    "h": 331.2
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#AC20A3
secondary
#60C767
accent
#EB483C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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