#AC289A#AC289A

#AC289A is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.205 H 334.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC289A
RGBrgb(172, 40, 154)
HSLhsl(308, 62%, 42%)
HSVhsv(308, 77%, 67%)
CMYKcmyk(0%, 76.7%, 10.5%, 32.5%)
CIE-LABlab(42.19, 63.47, -32.31)
CIE-LCHlch(42.19, 71.22, 333.02°)
OKLaboklab(52.88% 0.1847 -0.0885)
OKLCHoklch(52.88% 0.205 334.4)
XYZxyz(23.6050, 12.6234, 31.7590)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC289A #28AC3A
analogous
#7C28AC #AC289A #AC2858
triadic
#AC289A #9AAC28 #289AAC
tetradic
#AC289A #AC7C28 #28AC3A #2858AC
square
#AC289A #AC7C28 #28AC3A #2858AC
split-complementary
#AC289A #58AC28 #28AC7C
monochromatic
#491141 #7A1C6E #AC289A #D23FBE #DE71CF

Accessibility & contrast

On white

5.96
#AC289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC289A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC289A#FFFFFF#000000##FFFFFF
##AC289A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B4355F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac289a;
/* rgb */ color: rgb(172, 40, 154);
/* oklch */ color: oklch(52.9% 0.205 334.4);
Tailwind
colors: {
  custom: {
    50: '#c971b8',
    500: '#ac289a',
    950: '#000000',
  },
}
SCSS
$custom: #ac289a;
$custom-light: #c971b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac289a",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 308.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.20477,
    "h": 334.4
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#AC289A
secondary
#6BC577
accent
#E55942
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC289A

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

Preview Lab → · Contrast checker → · Palette generator →

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