#AC2A9C#AC2A9C

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

Color values

HEX#AC2A9C
RGBrgb(172, 42, 156)
HSLhsl(307, 61%, 42%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 75.6%, 9.3%, 32.5%)
CIE-LABlab(42.50, 63.16, -33.02)
CIE-LCHlch(42.50, 71.27, 332.40°)
OKLaboklab(53.14% 0.183 -0.0905)
OKLCHoklch(53.14% 0.204 333.7)
XYZxyz(23.8422, 12.8290, 32.6666)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A9C #2AAC3A
analogous
#7B2AAC #AC2A9C #AC2A5B
triadic
#AC2A9C #9CAC2A #2A9CAC
tetradic
#AC2A9C #AC7B2A #2AAC3A #2A5BAC
square
#AC2A9C #AC7B2A #2AAC3A #2A5BAC
split-complementary
#AC2A9C #5BAC2A #2AAC7B
monochromatic
#4A1243 #7B1E6F #AC2A9C #D142BF #DD73D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2A9C#FFFFFF#000000##FFFFFF
##AC2A9C1.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)
#26589F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B43761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2a9c;
/* rgb */ color: rgb(172, 42, 156);
/* oklch */ color: oklch(53.1% 0.204 333.7);
Tailwind
colors: {
  custom: {
    50: '#c972b9',
    500: '#ac2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a9c;
$custom-light: #c972b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a9c",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 307.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.20417,
    "h": 333.7
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#AC2A9C
secondary
#6DC478
accent
#E45844
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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