#AC2CAB#AC2CAB

#AC2CAB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.213 H 328.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC2CAB
RGBrgb(172, 44, 171)
HSLhsl(300, 59%, 42%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0%, 74.4%, 0.6%, 32.5%)
CIE-LABlab(43.53, 64.90, -40.36)
CIE-LCHlch(43.53, 76.43, 328.12°)
OKLaboklab(54.13% 0.1816 -0.1118)
OKLCHoklch(54.13% 0.213 328.4)
XYZxyz(25.2643, 13.5142, 39.7980)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CAB #2CAC2D
analogous
#6D2CAC #AC2CAB #AC2C6B
triadic
#AC2CAB #ABAC2C #2CABAC
tetradic
#AC2CAB #AC6D2C #2CAC2D #2C6BAC
square
#AC2CAB #AC6D2C #2CAC2D #2C6BAC
split-complementary
#AC2CAB #6BAC2C #2CAC6D
monochromatic
#4B134A #7B207B #AC2CAB #D046CE #DC76DB

Accessibility & contrast

On white

5.67
#AC2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CAB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CAB#FFFFFF#000000##FFFFFF
##AC2CAB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B2406A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2cab;
/* rgb */ color: rgb(172, 44, 171);
/* oklch */ color: oklch(54.1% 0.213 328.4);
Tailwind
colors: {
  custom: {
    50: '#c973c4',
    500: '#ac2cab',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cab;
$custom-light: #c973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cab",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 300.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.21323,
    "h": 328.4
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#AC2CAB
secondary
#70C471
accent
#E24745
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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