#AC28A2#AC28A2

#AC28A2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.210 H 331.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC28A2
RGBrgb(172, 40, 162)
HSLhsl(305, 62%, 42%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 76.7%, 5.8%, 32.5%)
CIE-LABlab(42.61, 64.68, -36.45)
CIE-LCHlch(42.61, 74.25, 330.60°)
OKLaboklab(53.32% 0.185 -0.1004)
OKLCHoklch(53.32% 0.211 331.5)
XYZxyz(24.2937, 12.8989, 35.3857)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC28A2 #28AC32
analogous
#7428AC #AC28A2 #AC2860
triadic
#AC28A2 #A2AC28 #28A2AC
tetradic
#AC28A2 #AC7428 #28AC32 #2860AC
square
#AC28A2 #AC7428 #28AC32 #2860AC
split-complementary
#AC28A2 #60AC28 #28AC74
monochromatic
#491144 #7A1C73 #AC28A2 #D23FC7 #DE71D6

Accessibility & contrast

On white

5.87
#AC28A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC28A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC28A2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC28A2#FFFFFF#000000##FFFFFF
##AC28A21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac28a2;
/* rgb */ color: rgb(172, 40, 162);
/* oklch */ color: oklch(53.3% 0.210 331.5);
Tailwind
colors: {
  custom: {
    50: '#c971be',
    500: '#ac28a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac28a2;
$custom-light: #c971be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac28a2",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 304.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.2105,
    "h": 331.5
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#AC28A2
secondary
#6BC572
accent
#E54F42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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