#AC28AF#AC28AF

#AC28AF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 327.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC28AF
RGBrgb(172, 40, 175)
HSLhsl(299, 63%, 42%)
HSVhsv(299, 77%, 69%)
CMYKcmyk(1.7%, 77.1%, 0%, 31.4%)
CIE-LABlab(43.34, 66.75, -43.04)
CIE-LCHlch(43.34, 79.42, 327.19°)
OKLaboklab(54.07% 0.1849 -0.1196)
OKLCHoklch(54.07% 0.22 327.1)
XYZxyz(25.5095, 13.3852, 41.7892)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28AF #2BAF28
analogous
#6928AF #AC28AF #AF286E
triadic
#AC28AF #AFAC28 #28AFAC
tetradic
#AC28AF #AF6928 #2BAF28 #286EAF
square
#AC28AF #AF6928 #2BAF28 #286EAF
split-complementary
#AC28AF #6EAF28 #28AF69
monochromatic
#4A114B #7B1D7D #AC28AF #D041D4 #DC73DF

Accessibility & contrast

On white

5.71
#AC28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28AF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28AF#FFFFFF#000000##FFFFFF
##AC28AF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#B1406B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac28af;
/* rgb */ color: rgb(172, 40, 175);
/* oklch */ color: oklch(54.1% 0.220 327.1);
Tailwind
colors: {
  custom: {
    50: '#c972c7',
    500: '#ac28af',
    950: '#000000',
  },
}
SCSS
$custom: #ac28af;
$custom-light: #c972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28af",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 298.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.22015,
    "h": 327.1
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#AC28AF
secondary
#6FC66D
accent
#E64246
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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