#AC28A9#AC28A9

#AC28A9 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 329.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC28A9
RGBrgb(172, 40, 169)
HSLhsl(301, 62%, 42%)
HSVhsv(301, 77%, 67%)
CMYKcmyk(0%, 76.7%, 1.7%, 32.5%)
CIE-LABlab(43.00, 65.78, -40.02)
CIE-LCHlch(43.00, 77.00, 328.68°)
OKLaboklab(53.72% 0.185 -0.1108)
OKLCHoklch(53.72% 0.216 329.1)
XYZxyz(24.9333, 13.1547, 38.7543)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A9 #28AC2B
analogous
#6D28AC #AC28A9 #AC2867
triadic
#AC28A9 #A9AC28 #28A9AC
tetradic
#AC28A9 #AC6D28 #28AC2B #2867AC
square
#AC28A9 #AC6D28 #28AC2B #2867AC
split-complementary
#AC28A9 #67AC28 #28AC6D
monochromatic
#491147 #7A1C78 #AC28A9 #D23FCF #DE71DB

Accessibility & contrast

On white

5.78
#AC28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28A9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A9#FFFFFF#000000##FFFFFF
##AC28A91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5AAC
Deuteranopia (green-blind)
#506CA6
Tritanopia (blue-blind)
#B23D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28a9;
/* rgb */ color: rgb(172, 40, 169);
/* oklch */ color: oklch(53.7% 0.216 329.1);
Tailwind
colors: {
  custom: {
    50: '#c972c3',
    500: '#ac28a9',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a9;
$custom-light: #c972c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a9",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 301.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.21565,
    "h": 329.1
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#AC28A9
secondary
#6BC56D
accent
#E54642
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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