#AC24A5#AC24A5

#AC24A5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.216 H 330.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC24A5
RGBrgb(172, 36, 165)
HSLhsl(303, 65%, 41%)
HSVhsv(303, 79%, 67%)
CMYKcmyk(0%, 79.1%, 4.1%, 32.5%)
CIE-LABlab(42.39, 66.27, -38.60)
CIE-LCHlch(42.39, 76.69, 329.78°)
OKLaboklab(53.21% 0.1883 -0.1066)
OKLCHoklch(53.21% 0.216 330.5)
XYZxyz(24.4356, 12.7510, 36.7642)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A5 #24AC2B
analogous
#6F24AC #AC24A5 #AC2461
triadic
#AC24A5 #A5AC24 #24A5AC
tetradic
#AC24A5 #AC6F24 #24AC2B #2461AC
square
#AC24A5 #AC6F24 #24AC2B #2461AC
split-complementary
#AC24A5 #61AC24 #24AC6F
monochromatic
#470F44 #791974 #AC24A5 #D538CD #E06ADA

Accessibility & contrast

On white

5.92
#AC24A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC24A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A5#FFFFFF#000000##FFFFFF
##AC24A51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#B33864
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac24a5;
/* rgb */ color: rgb(172, 36, 165);
/* oklch */ color: oklch(53.2% 0.216 330.5);
Tailwind
colors: {
  custom: {
    50: '#c970c0',
    500: '#ac24a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a5;
$custom-light: #c970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a5",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 303.088,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.21636,
    "h": 330.5
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#AC24A5
secondary
#66C66B
accent
#E8483F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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