#AC28A4#AC28A4

#AC28A4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.212 H 330.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC28A4
RGBrgb(172, 40, 164)
HSLhsl(304, 62%, 42%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 76.7%, 4.7%, 32.5%)
CIE-LABlab(42.72, 64.99, -37.48)
CIE-LCHlch(42.72, 75.02, 330.03°)
OKLaboklab(53.43% 0.185 -0.1034)
OKLCHoklch(53.43% 0.212 330.8)
XYZxyz(24.4728, 12.9706, 36.3294)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A4 #28AC30
analogous
#7228AC #AC28A4 #AC2862
triadic
#AC28A4 #A4AC28 #28A4AC
tetradic
#AC28A4 #AC7228 #28AC30 #2862AC
square
#AC28A4 #AC7228 #28AC30 #2862AC
split-complementary
#AC28A4 #62AC28 #28AC72
monochromatic
#491145 #7A1C75 #AC28A4 #D23FC9 #DE71D7

Accessibility & contrast

On white

5.84
#AC28A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC28A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28A4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A4#FFFFFF#000000##FFFFFF
##AC28A41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B33A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac28a4;
/* rgb */ color: rgb(172, 40, 164);
/* oklch */ color: oklch(53.4% 0.212 330.8);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac28a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a4;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a4",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 303.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.21196,
    "h": 330.8
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#AC28A4
secondary
#6BC570
accent
#E54C42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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