#AC289D#AC289D

#AC289D is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 333.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC289D
RGBrgb(172, 40, 157)
HSLhsl(307, 62%, 42%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 76.7%, 8.7%, 32.5%)
CIE-LABlab(42.35, 63.92, -33.87)
CIE-LCHlch(42.35, 72.34, 332.08°)
OKLaboklab(53.04% 0.1848 -0.093)
OKLCHoklch(53.04% 0.207 333.3)
XYZxyz(23.8580, 12.7246, 33.0913)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC289D #28AC37
analogous
#7928AC #AC289D #AC285B
triadic
#AC289D #9DAC28 #289DAC
tetradic
#AC289D #AC7928 #28AC37 #285BAC
square
#AC289D #AC7928 #28AC37 #285BAC
split-complementary
#AC289D #5BAC28 #28AC79
monochromatic
#491142 #7A1C70 #AC289D #D23FC2 #DE71D1

Accessibility & contrast

On white

5.92
#AC289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC289D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC289D#FFFFFF#000000##FFFFFF
##AC289D1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#566B9A
Tritanopia (blue-blind)
#B43661
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac289d;
/* rgb */ color: rgb(172, 40, 157);
/* oklch */ color: oklch(53.0% 0.207 333.3);
Tailwind
colors: {
  custom: {
    50: '#c971ba',
    500: '#ac289d',
    950: '#000000',
  },
}
SCSS
$custom: #ac289d;
$custom-light: #c971ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac289d",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 306.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.2069,
    "h": 333.3
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#AC289D
secondary
#6BC575
accent
#E55542
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC289D

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

Preview Lab → · Contrast checker → · Palette generator →

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