#AC2B9A#AC2B9A

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

Color values

HEX#AC2B9A
RGBrgb(172, 43, 154)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 75%, 10.5%, 32.5%)
CIE-LABlab(42.51, 62.55, -31.80)
CIE-LCHlch(42.51, 70.17, 333.05°)
OKLaboklab(53.11% 0.182 -0.087)
OKLCHoklch(53.11% 0.202 334.4)
XYZxyz(23.7101, 12.8336, 31.7940)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B9A #2BAC3D
analogous
#7E2BAC #AC2B9A #AC2B5A
triadic
#AC2B9A #9AAC2B #2B9AAC
tetradic
#AC2B9A #AC7E2B #2BAC3D #2B5AAC
square
#AC2B9A #AC7E2B #2BAC3D #2B5AAC
split-complementary
#AC2B9A #5AAC2B #2BAC7E
monochromatic
#4A1342 #7B1F6E #AC2B9A #D044BD #DC75CE

Accessibility & contrast

On white

5.89
#AC2B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B9A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B9A#FFFFFF#000000##FFFFFF
##AC2B9A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589D
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#B43760
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b9a;
/* rgb */ color: rgb(172, 43, 154);
/* oklch */ color: oklch(53.1% 0.202 334.4);
Tailwind
colors: {
  custom: {
    50: '#c872b8',
    500: '#ac2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b9a;
$custom-light: #c872b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b9a",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 308.372,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.20171,
    "h": 334.4
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#AC2B9A
secondary
#6FC47B
accent
#E35B45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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