#AC28AB#AC28AB

#AC28AB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.217 H 328.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC28AB
RGBrgb(172, 40, 171)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 77%, 67%)
CMYKcmyk(0%, 76.7%, 0.6%, 32.5%)
CIE-LABlab(43.11, 66.10, -41.03)
CIE-LCHlch(43.11, 77.80, 328.17°)
OKLaboklab(53.84% 0.185 -0.1137)
OKLCHoklch(53.84% 0.217 328.4)
XYZxyz(25.1225, 13.2304, 39.7507)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AB #28AC29
analogous
#6B28AC #AC28AB #AC2869
triadic
#AC28AB #ABAC28 #28ABAC
tetradic
#AC28AB #AC6B28 #28AC29 #2869AC
square
#AC28AB #AC6B28 #28AC29 #2869AC
split-complementary
#AC28AB #69AC28 #28AC6B
monochromatic
#491148 #7A1C7A #AC28AB #D23FD1 #DE71DD

Accessibility & contrast

On white

5.76
#AC28AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC28AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AB#FFFFFF#000000##FFFFFF
##AC28AB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAE
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#B23E69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28ab;
/* rgb */ color: rgb(172, 40, 171);
/* oklch */ color: oklch(53.8% 0.217 328.4);
Tailwind
colors: {
  custom: {
    50: '#c972c4',
    500: '#ac28ab',
    950: '#000000',
  },
}
SCSS
$custom: #ac28ab;
$custom-light: #c972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28ab",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 300.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.21715,
    "h": 328.4
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#AC28AB
secondary
#6BC56C
accent
#E54442
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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