#AC24A1#AC24A1

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

Color values

HEX#AC24A1
RGBrgb(172, 36, 161)
HSLhsl(305, 65%, 41%)
HSVhsv(305, 79%, 67%)
CMYKcmyk(0%, 79.1%, 6.4%, 32.5%)
CIE-LABlab(42.17, 65.65, -36.56)
CIE-LCHlch(42.17, 75.14, 330.89°)
OKLaboklab(52.98% 0.1882 -0.1007)
OKLCHoklch(52.98% 0.213 331.9)
XYZxyz(24.0772, 12.6076, 34.8767)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A1 #24AC2F
analogous
#7324AC #AC24A1 #AC245D
triadic
#AC24A1 #A1AC24 #24A1AC
tetradic
#AC24A1 #AC7324 #24AC2F #245DAC
square
#AC24A1 #AC7324 #24AC2F #245DAC
split-complementary
#AC24A1 #5DAC24 #24AC73
monochromatic
#470F42 #791972 #AC24A1 #D538C9 #E06AD6

Accessibility & contrast

On white

5.96
#AC24A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC24A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A1#FFFFFF#000000##FFFFFF
##AC24A11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#536A9E
Tritanopia (blue-blind)
#B33662
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac24a1;
/* rgb */ color: rgb(172, 36, 161);
/* oklch */ color: oklch(53.0% 0.213 331.9);
Tailwind
colors: {
  custom: {
    50: '#c970bd',
    500: '#ac24a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a1;
$custom-light: #c970bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a1",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 304.853,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.21349,
    "h": 331.9
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#AC24A1
secondary
#66C66E
accent
#E84D3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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