#AC2CA9#AC2CA9

#AC2CA9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.212 H 329.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA9
RGBrgb(172, 44, 169)
HSLhsl(301, 59%, 42%)
HSVhsv(301, 74%, 67%)
CMYKcmyk(0%, 74.4%, 1.7%, 32.5%)
CIE-LABlab(43.42, 64.57, -39.35)
CIE-LCHlch(43.42, 75.62, 328.64°)
OKLaboklab(54.02% 0.1816 -0.1089)
OKLCHoklch(54.02% 0.212 329.1)
XYZxyz(25.0752, 13.4385, 38.8016)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA9 #2CAC2F
analogous
#6F2CAC #AC2CA9 #AC2C69
triadic
#AC2CA9 #A9AC2C #2CA9AC
tetradic
#AC2CA9 #AC6F2C #2CAC2F #2C69AC
square
#AC2CA9 #AC6F2C #2CAC2F #2C69AC
split-complementary
#AC2CA9 #69AC2C #2CAC6F
monochromatic
#4B1349 #7B2079 #AC2CA9 #D046CC #DC76DA

Accessibility & contrast

On white

5.70
#AC2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AC2CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA9#FFFFFF#000000##FFFFFF
##AC2CA91.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAC
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#B23F69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2ca9;
/* rgb */ color: rgb(172, 44, 169);
/* oklch */ color: oklch(54.0% 0.212 329.1);
Tailwind
colors: {
  custom: {
    50: '#c973c3',
    500: '#ac2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca9;
$custom-light: #c973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca9",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 301.406,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.21171,
    "h": 329.1
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#AC2CA9
secondary
#70C472
accent
#E24945
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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