#AC2CAC#AC2CAC

#AC2CAC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.214 H 328.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC2CAC
RGBrgb(172, 44, 172)
HSLhsl(300, 59%, 42%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0%, 74.4%, 0%, 32.5%)
CIE-LABlab(43.58, 65.06, -40.87)
CIE-LCHlch(43.58, 76.83, 327.87°)
OKLaboklab(54.19% 0.1816 -0.1133)
OKLCHoklch(54.19% 0.214 328)
XYZxyz(25.3600, 13.5524, 40.3019)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CAC #2CAC2C
analogous
#6C2CAC #AC2CAC #AC2C6C
triadic
#AC2CAC #ACAC2C #2CACAC
tetradic
#AC2CAC #AC6C2C #2CAC2C #2C6CAC
square
#AC2CAC #AC6C2C #2CAC2C #2C6CAC
split-complementary
#AC2CAC #6CAC2C #2CAC6C
monochromatic
#4B134B #7B207B #AC2CAC #D046D0 #DC76DC

Accessibility & contrast

On white

5.66
#AC2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CAC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CAC#FFFFFF#000000##FFFFFF
##AC2CAC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#B1406A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2cac;
/* rgb */ color: rgb(172, 44, 172);
/* oklch */ color: oklch(54.2% 0.214 328.0);
Tailwind
colors: {
  custom: {
    50: '#c973c5',
    500: '#ac2cac',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cac;
$custom-light: #c973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cac",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.21399,
    "h": 328
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#AC2CAC
secondary
#70C470
accent
#E24545
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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