#AC28AC#AC28AC

#AC28AC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.218 H 328.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC28AC
RGBrgb(172, 40, 172)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 77%, 67%)
CMYKcmyk(0%, 76.7%, 0%, 32.5%)
CIE-LABlab(43.17, 66.27, -41.53)
CIE-LCHlch(43.17, 78.21, 327.92°)
OKLaboklab(53.89% 0.185 -0.1152)
OKLCHoklch(53.89% 0.218 328.1)
XYZxyz(25.2181, 13.2687, 40.2546)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AC #28AC28
analogous
#6A28AC #AC28AC #AC286A
triadic
#AC28AC #ACAC28 #28ACAC
tetradic
#AC28AC #AC6A28 #28AC28 #286AAC
square
#AC28AC #AC6A28 #28AC28 #286AAC
split-complementary
#AC28AC #6AAC28 #28AC6A
monochromatic
#491149 #7A1C7A #AC28AC #D23FD2 #DE71DE

Accessibility & contrast

On white

5.75
#AC28AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC28AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AC#FFFFFF#000000##FFFFFF
##AC28AC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025BAF
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#B23E69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28ac;
/* rgb */ color: rgb(172, 40, 172);
/* oklch */ color: oklch(53.9% 0.218 328.1);
Tailwind
colors: {
  custom: {
    50: '#c972c5',
    500: '#ac28ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac28ac;
$custom-light: #c972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28ac",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.21789,
    "h": 328.1
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#AC28AC
secondary
#6BC56B
accent
#E54242
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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