#AC289C#AC289C

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

Color values

HEX#AC289C
RGBrgb(172, 40, 156)
HSLhsl(307, 62%, 42%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 76.7%, 9.3%, 32.5%)
CIE-LABlab(42.29, 63.77, -33.35)
CIE-LCHlch(42.29, 71.96, 332.39°)
OKLaboklab(52.99% 0.1848 -0.0915)
OKLCHoklch(52.99% 0.206 333.7)
XYZxyz(23.7730, 12.6906, 32.6435)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC289C #28AC38
analogous
#7A28AC #AC289C #AC285A
triadic
#AC289C #9CAC28 #289CAC
tetradic
#AC289C #AC7A28 #28AC38 #285AAC
square
#AC289C #AC7A28 #28AC38 #285AAC
split-complementary
#AC289C #5AAC28 #28AC7A
monochromatic
#491142 #7A1C6F #AC289C #D23FC0 #DE71D1

Accessibility & contrast

On white

5.94
#AC289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC289C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC289C#FFFFFF#000000##FFFFFF
##AC289C1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#566B99
Tritanopia (blue-blind)
#B43660
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac289c;
/* rgb */ color: rgb(172, 40, 156);
/* oklch */ color: oklch(53.0% 0.206 333.7);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac289c',
    950: '#000000',
  },
}
SCSS
$custom: #ac289c;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac289c",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 307.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.20619,
    "h": 333.7
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#AC289C
secondary
#6BC576
accent
#E55642
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC289C

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

Preview Lab → · Contrast checker → · Palette generator →

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