#AC2A9D#AC2A9D

#AC2A9D is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 333.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC2A9D
RGBrgb(172, 42, 157)
HSLhsl(307, 61%, 42%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 75.6%, 8.7%, 32.5%)
CIE-LABlab(42.56, 63.31, -33.54)
CIE-LCHlch(42.56, 71.65, 332.09°)
OKLaboklab(53.19% 0.1831 -0.092)
OKLCHoklch(53.19% 0.205 333.3)
XYZxyz(23.9272, 12.8630, 33.1144)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9D #2AAC39
analogous
#7A2AAC #AC2A9D #AC2A5C
triadic
#AC2A9D #9DAC2A #2A9DAC
tetradic
#AC2A9D #AC7A2A #2AAC39 #2A5CAC
square
#AC2A9D #AC7A2A #2AAC39 #2A5CAC
split-complementary
#AC2A9D #5CAC2A #2AAC7A
monochromatic
#4A1243 #7B1E70 #AC2A9D #D142C0 #DD73D1

Accessibility & contrast

On white

5.88
#AC2A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A9D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A9D#FFFFFF#000000##FFFFFF
##AC2A9D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#B43861
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2a9d;
/* rgb */ color: rgb(172, 42, 157);
/* oklch */ color: oklch(53.2% 0.205 333.3);
Tailwind
colors: {
  custom: {
    50: '#c972ba',
    500: '#ac2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9d;
$custom-light: #c972ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9d",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 306.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.2049,
    "h": 333.3
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#AC2A9D
secondary
#6DC478
accent
#E45644
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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