#AC28A6#AC28A6

#AC28A6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 330.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AC28A6
RGBrgb(172, 40, 166)
HSLhsl(303, 62%, 42%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 76.7%, 3.5%, 32.5%)
CIE-LABlab(42.83, 65.31, -38.50)
CIE-LCHlch(42.83, 75.81, 329.48°)
OKLaboklab(53.55% 0.185 -0.1064)
OKLCHoklch(53.55% 0.213 330.1)
XYZxyz(24.6549, 13.0434, 37.2881)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A6 #28AC2E
analogous
#7028AC #AC28A6 #AC2864
triadic
#AC28A6 #A6AC28 #28A6AC
tetradic
#AC28A6 #AC7028 #28AC2E #2864AC
square
#AC28A6 #AC7028 #28AC2E #2864AC
split-complementary
#AC28A6 #64AC28 #28AC70
monochromatic
#491146 #7A1C76 #AC28A6 #D23FCC #DE71D9

Accessibility & contrast

On white

5.82
#AC28A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC28A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28A6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A6#FFFFFF#000000##FFFFFF
##AC28A61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B33B66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac28a6;
/* rgb */ color: rgb(172, 40, 166);
/* oklch */ color: oklch(53.5% 0.213 330.1);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ac28a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a6;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a6",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 302.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.21343,
    "h": 330.1
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#AC28A6
secondary
#6BC56F
accent
#E54A42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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