#AC24A6#AC24A6

#AC24A6 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.217 H 330.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC24A6
RGBrgb(172, 36, 166)
HSLhsl(303, 65%, 41%)
HSVhsv(303, 79%, 67%)
CMYKcmyk(0%, 79.1%, 3.5%, 32.5%)
CIE-LABlab(42.44, 66.42, -39.11)
CIE-LCHlch(42.44, 77.08, 329.51°)
OKLaboklab(53.27% 0.1882 -0.1081)
OKLCHoklch(53.27% 0.217 330.1)
XYZxyz(24.5270, 12.7876, 37.2455)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A6 #24AC2A
analogous
#6E24AC #AC24A6 #AC2462
triadic
#AC24A6 #A6AC24 #24A6AC
tetradic
#AC24A6 #AC6E24 #24AC2A #2462AC
square
#AC24A6 #AC6E24 #24AC2A #2462AC
split-complementary
#AC24A6 #62AC24 #24AC6E
monochromatic
#470F44 #791975 #AC24A6 #D538CE #E06ADB

Accessibility & contrast

On white

5.90
#AC24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A6#FFFFFF#000000##FFFFFF
##AC24A61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B59A9
Deuteranopia (green-blind)
#506AA3
Tritanopia (blue-blind)
#B33965
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac24a6;
/* rgb */ color: rgb(172, 36, 166);
/* oklch */ color: oklch(53.3% 0.217 330.1);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac24a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a6;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a6",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 302.647,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.21708,
    "h": 330.1
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#AC24A6
secondary
#66C66A
accent
#E8473F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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