#AC24A2#AC24A2

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

Color values

HEX#AC24A2
RGBrgb(172, 36, 162)
HSLhsl(304, 65%, 41%)
HSVhsv(304, 79%, 67%)
CMYKcmyk(0%, 79.1%, 5.8%, 32.5%)
CIE-LABlab(42.22, 65.80, -37.07)
CIE-LCHlch(42.22, 75.53, 330.61°)
OKLaboklab(53.04% 0.1883 -0.1022)
OKLCHoklch(53.04% 0.214 331.5)
XYZxyz(24.1657, 12.6431, 35.3430)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC24A2 #24AC2E
analogous
#7224AC #AC24A2 #AC245E
triadic
#AC24A2 #A2AC24 #24A2AC
tetradic
#AC24A2 #AC7224 #24AC2E #245EAC
square
#AC24A2 #AC7224 #24AC2E #245EAC
split-complementary
#AC24A2 #5EAC24 #24AC72
monochromatic
#470F43 #791972 #AC24A2 #D538CA #E06AD7

Accessibility & contrast

On white

5.95
#AC24A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC24A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC24A2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC24A2#FFFFFF#000000##FFFFFF
##AC24A21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B33663
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac24a2;
/* rgb */ color: rgb(172, 36, 162);
/* oklch */ color: oklch(53.0% 0.214 331.5);
Tailwind
colors: {
  custom: {
    50: '#c970be',
    500: '#ac24a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac24a2;
$custom-light: #c970be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac24a2",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 304.412,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.2142,
    "h": 331.5
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#AC24A2
secondary
#66C66D
accent
#E84C3F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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