#AC28AD#AC28AD

#AC28AD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 327.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AC28AD
RGBrgb(172, 40, 173)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 77%, 68%)
CMYKcmyk(0.6%, 76.9%, 0%, 32.2%)
CIE-LABlab(43.22, 66.43, -42.04)
CIE-LCHlch(43.22, 78.61, 327.67°)
OKLaboklab(53.95% 0.1849 -0.1166)
OKLCHoklch(53.95% 0.219 327.8)
XYZxyz(25.3145, 13.3072, 40.7623)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AD #29AD28
analogous
#6A28AD #AC28AD #AD286C
triadic
#AC28AD #ADAC28 #28ADAC
tetradic
#AC28AD #AD6A28 #29AD28 #286CAD
square
#AC28AD #AD6A28 #29AD28 #286CAD
split-complementary
#AC28AD #6CAD28 #28AD6A
monochromatic
#49114A #7B1D7B #AC28AD #D23FD3 #DD71DE

Accessibility & contrast

On white

5.74
#AC28AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC28AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AD#FFFFFF#000000##FFFFFF
##AC28AD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#B13F6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28ad;
/* rgb */ color: rgb(172, 40, 173);
/* oklch */ color: oklch(54.0% 0.219 327.8);
Tailwind
colors: {
  custom: {
    50: '#c972c6',
    500: '#ac28ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac28ad;
$custom-light: #c972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28ad",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 299.549,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.21864,
    "h": 327.8
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#AC28AD
secondary
#6CC56C
accent
#E64244
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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