#AC2AAB#AC2AAB

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

Color values

HEX#AC2AAB
RGBrgb(172, 42, 171)
HSLhsl(300, 61%, 42%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0%, 75.6%, 0.6%, 32.5%)
CIE-LABlab(43.31, 65.51, -40.70)
CIE-LCHlch(43.31, 77.13, 328.15°)
OKLaboklab(53.98% 0.1833 -0.1128)
OKLCHoklch(53.98% 0.215 328.4)
XYZxyz(25.1916, 13.3687, 39.7738)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AAB #2AAC2B
analogous
#6C2AAC #AC2AAB #AC2A6A
triadic
#AC2AAB #ABAC2A #2AABAC
tetradic
#AC2AAB #AC6C2A #2AAC2B #2A6AAC
square
#AC2AAB #AC6C2A #2AAC2B #2A6AAC
split-complementary
#AC2AAB #6AAC2A #2AAC6C
monochromatic
#4A1249 #7B1E7A #AC2AAB #D142D0 #DD73DC

Accessibility & contrast

On white

5.72
#AC2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC2AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AAB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AAB#FFFFFF#000000##FFFFFF
##AC2AAB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5CAE
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#B23F69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2aab;
/* rgb */ color: rgb(172, 42, 171);
/* oklch */ color: oklch(54.0% 0.215 328.4);
Tailwind
colors: {
  custom: {
    50: '#c972c4',
    500: '#ac2aab',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aab;
$custom-light: #c972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aab",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 300.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.21523,
    "h": 328.4
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#AC2AAB
secondary
#6DC46E
accent
#E44544
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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