#AC259A#AC259A

#AC259A is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.208 H 334.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC259A
RGBrgb(172, 37, 154)
HSLhsl(308, 65%, 41%)
HSVhsv(308, 78%, 67%)
CMYKcmyk(0%, 78.5%, 10.5%, 32.5%)
CIE-LABlab(41.89, 64.33, -32.78)
CIE-LCHlch(41.89, 72.20, 333.00°)
OKLaboklab(52.67% 0.1872 -0.0898)
OKLCHoklch(52.67% 0.208 334.4)
XYZxyz(23.5078, 12.4290, 31.7265)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC259A #25AC37
analogous
#7A25AC #AC259A #AC2556
triadic
#AC259A #9AAC25 #259AAC
tetradic
#AC259A #AC7A25 #25AC37 #2556AC
square
#AC259A #AC7A25 #25AC37 #2556AC
split-complementary
#AC259A #56AC25 #25AC7A
monochromatic
#470F40 #7A1A6D #AC259A #D53AC0 #DF6CD0

Accessibility & contrast

On white

6.03
#AC259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC259A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC259A#FFFFFF#000000##FFFFFF
##AC259A1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#B4335E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac259a;
/* rgb */ color: rgb(172, 37, 154);
/* oklch */ color: oklch(52.7% 0.208 334.4);
Tailwind
colors: {
  custom: {
    50: '#c970b8',
    500: '#ac259a',
    950: '#000000',
  },
}
SCSS
$custom: #ac259a;
$custom-light: #c970b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac259a",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 308,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.20764,
    "h": 334.4
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#AC259A
secondary
#67C674
accent
#E85740
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC259A

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

Preview Lab → · Contrast checker → · Palette generator →

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