#AC2A9F#AC2A9F

#AC2A9F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.206 H 332.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC2A9F
RGBrgb(172, 42, 159)
HSLhsl(306, 61%, 42%)
HSVhsv(306, 76%, 67%)
CMYKcmyk(0%, 75.6%, 7.6%, 32.5%)
CIE-LABlab(42.66, 63.62, -34.58)
CIE-LCHlch(42.66, 72.41, 331.48°)
OKLaboklab(53.3% 0.1832 -0.095)
OKLCHoklch(53.3% 0.206 332.6)
XYZxyz(24.0993, 12.9318, 34.0210)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9F #2AAC37
analogous
#782AAC #AC2A9F #AC2A5E
triadic
#AC2A9F #9FAC2A #2A9FAC
tetradic
#AC2A9F #AC782A #2AAC37 #2A5EAC
square
#AC2A9F #AC782A #2AAC37 #2A5EAC
split-complementary
#AC2A9F #5EAC2A #2AAC78
monochromatic
#4A1244 #7B1E72 #AC2A9F #D142C3 #DD73D2

Accessibility & contrast

On white

5.86
#AC2A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC2A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A9F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A9F#FFFFFF#000000##FFFFFF
##AC2A9F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#B43962
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2a9f;
/* rgb */ color: rgb(172, 42, 159);
/* oklch */ color: oklch(53.3% 0.206 332.6);
Tailwind
colors: {
  custom: {
    50: '#c972bc',
    500: '#ac2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9f;
$custom-light: #c972bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9f",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 306,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.20634,
    "h": 332.6
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#AC2A9F
secondary
#6DC476
accent
#E45444
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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