#AC289B#AC289B

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

Color values

HEX#AC289B
RGBrgb(172, 40, 155)
HSLhsl(308, 62%, 42%)
HSVhsv(308, 77%, 67%)
CMYKcmyk(0%, 76.7%, 9.9%, 32.5%)
CIE-LABlab(42.24, 63.62, -32.83)
CIE-LCHlch(42.24, 71.59, 332.70°)
OKLaboklab(52.94% 0.1847 -0.09)
OKLCHoklch(52.94% 0.205 334)
XYZxyz(23.6887, 12.6569, 32.1994)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC289B #28AC39
analogous
#7B28AC #AC289B #AC2859
triadic
#AC289B #9BAC28 #289BAC
tetradic
#AC289B #AC7B28 #28AC39 #2859AC
square
#AC289B #AC7B28 #28AC39 #2859AC
split-complementary
#AC289B #59AC28 #28AC7B
monochromatic
#491142 #7A1C6E #AC289B #D23FBF #DE71D0

Accessibility & contrast

On white

5.95
#AC289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC289B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC289B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC289B#FFFFFF#000000##FFFFFF
##AC289B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#B43560
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac289b;
/* rgb */ color: rgb(172, 40, 155);
/* oklch */ color: oklch(52.9% 0.205 334.0);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac289b',
    950: '#000000',
  },
}
SCSS
$custom: #ac289b;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac289b",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 307.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.20548,
    "h": 334
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC289B

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

Preview Lab → · Contrast checker → · Palette generator →

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