#AC2A9B#AC2A9B

#AC2A9B is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.203 H 334.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC2A9B
RGBrgb(172, 42, 155)
HSLhsl(308, 61%, 42%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 75.6%, 9.9%, 32.5%)
CIE-LABlab(42.45, 63.01, -32.50)
CIE-LCHlch(42.45, 70.90, 332.72°)
OKLaboklab(53.09% 0.1829 -0.089)
OKLCHoklch(53.09% 0.203 334)
XYZxyz(23.7578, 12.7952, 32.2225)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9B #2AAC3B
analogous
#7C2AAC #AC2A9B #AC2A5A
triadic
#AC2A9B #9BAC2A #2A9BAC
tetradic
#AC2A9B #AC7C2A #2AAC3B #2A5AAC
square
#AC2A9B #AC7C2A #2AAC3B #2A5AAC
split-complementary
#AC2A9B #5AAC2A #2AAC7C
monochromatic
#4A1242 #7B1E6F #AC2A9B #D142BE #DD73CF

Accessibility & contrast

On white

5.90
#AC2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC2A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A9B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A9B#FFFFFF#000000##FFFFFF
##AC2A9B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B43760
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2a9b;
/* rgb */ color: rgb(172, 42, 155);
/* oklch */ color: oklch(53.1% 0.203 334.0);
Tailwind
colors: {
  custom: {
    50: '#c972b9',
    500: '#ac2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9b;
$custom-light: #c972b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9b",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 307.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.20346,
    "h": 334
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#AC2A9B
secondary
#6DC479
accent
#E45944
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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