#AC28AE#AC28AE

#AC28AE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 327.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AC28AE
RGBrgb(172, 40, 174)
HSLhsl(299, 63%, 42%)
HSVhsv(299, 77%, 68%)
CMYKcmyk(1.1%, 77%, 0%, 31.8%)
CIE-LABlab(43.28, 66.59, -42.54)
CIE-LCHlch(43.28, 79.02, 327.43°)
OKLaboklab(54.01% 0.1849 -0.1181)
OKLCHoklch(54.01% 0.219 327.4)
XYZxyz(25.4117, 13.3461, 41.2738)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AE #2AAE28
analogous
#6928AE #AC28AE #AE286D
triadic
#AC28AE #AEAC28 #28AEAC
tetradic
#AC28AE #AE6928 #2AAE28 #286DAE
square
#AC28AE #AE6928 #2AAE28 #286DAE
split-complementary
#AC28AE #6DAE28 #28AE69
monochromatic
#4A114A #7B1D7C #AC28AE #D140D3 #DD72DF

Accessibility & contrast

On white

5.72
#AC28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AE#FFFFFF#000000##FFFFFF
##AC28AE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#B13F6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28ae;
/* rgb */ color: rgb(172, 40, 174);
/* oklch */ color: oklch(54.0% 0.219 327.4);
Tailwind
colors: {
  custom: {
    50: '#c972c7',
    500: '#ac28ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac28ae;
$custom-light: #c972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28ae",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 299.104,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.2194,
    "h": 327.4
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#AC28AE
secondary
#6DC66C
accent
#E64245
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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