#AC259F#AC259F

#AC259F is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 332.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AC259F
RGBrgb(172, 37, 159)
HSLhsl(306, 65%, 41%)
HSVhsv(306, 78%, 67%)
CMYKcmyk(0%, 78.5%, 7.6%, 32.5%)
CIE-LABlab(42.15, 65.08, -35.38)
CIE-LCHlch(42.15, 74.07, 331.47°)
OKLaboklab(52.94% 0.1874 -0.0973)
OKLCHoklch(52.94% 0.211 332.6)
XYZxyz(23.9329, 12.5990, 33.9655)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC259F #25AC32
analogous
#7525AC #AC259F #AC255B
triadic
#AC259F #9FAC25 #259FAC
tetradic
#AC259F #AC7525 #25AC32 #255BAC
square
#AC259F #AC7525 #25AC32 #255BAC
split-complementary
#AC259F #5BAC25 #25AC75
monochromatic
#470F42 #7A1A70 #AC259F #D53AC6 #DF6CD4

Accessibility & contrast

On white

5.97
#AC259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC259F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC259F#FFFFFF#000000##FFFFFF
##AC259F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#B43561
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac259f;
/* rgb */ color: rgb(172, 37, 159);
/* oklch */ color: oklch(52.9% 0.211 332.6);
Tailwind
colors: {
  custom: {
    50: '#c970bc',
    500: '#ac259f',
    950: '#000000',
  },
}
SCSS
$custom: #ac259f;
$custom-light: #c970bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac259f",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 305.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.21117,
    "h": 332.6
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#AC259F
secondary
#67C670
accent
#E85040
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC259F

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

Preview Lab → · Contrast checker → · Palette generator →

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