#AC289F#AC289F

#AC289F is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.208 H 332.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC289F
RGBrgb(172, 40, 159)
HSLhsl(306, 62%, 42%)
HSVhsv(306, 77%, 67%)
CMYKcmyk(0%, 76.7%, 7.6%, 32.5%)
CIE-LABlab(42.45, 64.22, -34.91)
CIE-LCHlch(42.45, 73.09, 331.47°)
OKLaboklab(53.15% 0.1849 -0.096)
OKLCHoklch(53.15% 0.208 332.6)
XYZxyz(24.0302, 12.7935, 33.9979)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC289F #28AC35
analogous
#7728AC #AC289F #AC285D
triadic
#AC289F #9FAC28 #289FAC
tetradic
#AC289F #AC7728 #28AC35 #285DAC
square
#AC289F #AC7728 #28AC35 #285DAC
split-complementary
#AC289F #5DAC28 #28AC77
monochromatic
#491143 #7A1C71 #AC289F #D23FC4 #DE71D3

Accessibility & contrast

On white

5.90
#AC289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC289F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC289F#FFFFFF#000000##FFFFFF
##AC289F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#B43762
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac289f;
/* rgb */ color: rgb(172, 40, 159);
/* oklch */ color: oklch(53.2% 0.208 332.6);
Tailwind
colors: {
  custom: {
    50: '#c971bc',
    500: '#ac289f',
    950: '#000000',
  },
}
SCSS
$custom: #ac289f;
$custom-light: #c971bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac289f",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 305.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.20833,
    "h": 332.6
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#AC289F
secondary
#6BC574
accent
#E55342
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC289F

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

Preview Lab → · Contrast checker → · Palette generator →

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