#AC28A5#AC28A5

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

Color values

HEX#AC28A5
RGBrgb(172, 40, 165)
HSLhsl(303, 62%, 42%)
HSVhsv(303, 77%, 67%)
CMYKcmyk(0%, 76.7%, 4.1%, 32.5%)
CIE-LABlab(42.77, 65.15, -37.99)
CIE-LCHlch(42.77, 75.42, 329.75°)
OKLaboklab(53.49% 0.185 -0.1049)
OKLCHoklch(53.49% 0.213 330.5)
XYZxyz(24.5635, 13.0068, 36.8069)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A5 #28AC2F
analogous
#7128AC #AC28A5 #AC2863
triadic
#AC28A5 #A5AC28 #28A5AC
tetradic
#AC28A5 #AC7128 #28AC2F #2863AC
square
#AC28A5 #AC7128 #28AC2F #2863AC
split-complementary
#AC28A5 #63AC28 #28AC71
monochromatic
#491146 #7A1C75 #AC28A5 #D23FCB #DE71D8

Accessibility & contrast

On white

5.83
#AC28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC28A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28A5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A5#FFFFFF#000000##FFFFFF
##AC28A51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#B33A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac28a5;
/* rgb */ color: rgb(172, 40, 165);
/* oklch */ color: oklch(53.5% 0.213 330.5);
Tailwind
colors: {
  custom: {
    50: '#c971c0',
    500: '#ac28a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a5;
$custom-light: #c971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a5",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 303.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.21269,
    "h": 330.5
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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