#AC28A3#AC28A3

#AC28A3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.211 H 331.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC28A3
RGBrgb(172, 40, 163)
HSLhsl(304, 62%, 42%)
HSVhsv(304, 77%, 67%)
CMYKcmyk(0%, 76.7%, 5.2%, 32.5%)
CIE-LABlab(42.66, 64.84, -36.97)
CIE-LCHlch(42.66, 74.63, 330.31°)
OKLaboklab(53.37% 0.185 -0.1019)
OKLCHoklch(53.37% 0.211 331.2)
XYZxyz(24.3829, 12.9346, 35.8557)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A3 #28AC31
analogous
#7328AC #AC28A3 #AC2861
triadic
#AC28A3 #A3AC28 #28A3AC
tetradic
#AC28A3 #AC7328 #28AC31 #2861AC
square
#AC28A3 #AC7328 #28AC31 #2861AC
split-complementary
#AC28A3 #61AC28 #28AC73
monochromatic
#491145 #7A1C74 #AC28A3 #D23FC8 #DE71D6

Accessibility & contrast

On white

5.86
#AC28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC28A3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A3#FFFFFF#000000##FFFFFF
##AC28A31.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#B33964
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac28a3;
/* rgb */ color: rgb(172, 40, 163);
/* oklch */ color: oklch(53.4% 0.211 331.2);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac28a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a3;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a3",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 304.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.21123,
    "h": 331.2
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#AC28A3
secondary
#6BC571
accent
#E54E42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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