#AC28AA#AC28AA

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

Color values

HEX#AC28AA
RGBrgb(172, 40, 170)
HSLhsl(301, 62%, 42%)
HSVhsv(301, 77%, 67%)
CMYKcmyk(0%, 76.7%, 1.2%, 32.5%)
CIE-LABlab(43.05, 65.94, -40.53)
CIE-LCHlch(43.05, 77.40, 328.43°)
OKLaboklab(53.78% 0.185 -0.1122)
OKLCHoklch(53.78% 0.216 328.8)
XYZxyz(25.0275, 13.1924, 39.2506)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AA #28AC2A
analogous
#6C28AC #AC28AA #AC2868
triadic
#AC28AA #AAAC28 #28AAAC
tetradic
#AC28AA #AC6C28 #28AC2A #2868AC
square
#AC28AA #AC6C28 #28AC2A #2868AC
split-complementary
#AC28AA #68AC28 #28AC6C
monochromatic
#491148 #7A1C79 #AC28AA #D23FD0 #DE71DC

Accessibility & contrast

On white

5.77
#AC28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AA#FFFFFF#000000##FFFFFF
##AC28AA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAD
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#B23D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28aa;
/* rgb */ color: rgb(172, 40, 170);
/* oklch */ color: oklch(53.8% 0.216 328.8);
Tailwind
colors: {
  custom: {
    50: '#c972c4',
    500: '#ac28aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac28aa;
$custom-light: #c972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28aa",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 300.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.2164,
    "h": 328.8
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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