#AC2D99#AC2D99

#AC2D99 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.199 H 334.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC2D99
RGBrgb(172, 45, 153)
HSLhsl(309, 59%, 43%)
HSVhsv(309, 74%, 67%)
CMYKcmyk(0%, 73.8%, 11%, 32.5%)
CIE-LABlab(42.69, 61.75, -30.93)
CIE-LCHlch(42.69, 69.06, 333.40°)
OKLaboklab(53.22% 0.18 -0.0845)
OKLCHoklch(53.22% 0.199 334.8)
XYZxyz(23.7017, 12.9494, 31.3820)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D99 #2DAC40
analogous
#7F2DAC #AC2D99 #AC2D5A
triadic
#AC2D99 #99AC2D #2D99AC
tetradic
#AC2D99 #AC7F2D #2DAC40 #2D5AAC
square
#AC2D99 #AC7F2D #2DAC40 #2D5AAC
split-complementary
#AC2D99 #5AAC2D #2DAC7F
monochromatic
#4B1443 #7B206E #AC2D99 #CF47BB #DC78CD

Accessibility & contrast

On white

5.85
#AC2D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC2D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D99
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D99#FFFFFF#000000##FFFFFF
##AC2D991.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#5A6B96
Tritanopia (blue-blind)
#B43860
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d99;
/* rgb */ color: rgb(172, 45, 153);
/* oklch */ color: oklch(53.2% 0.199 334.8);
Tailwind
colors: {
  custom: {
    50: '#c873b7',
    500: '#ac2d99',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d99;
$custom-light: #c873b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d99",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 308.976,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53222,
    "c": 0.19885,
    "h": 334.8
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#AC2D99
secondary
#71C47E
accent
#E25D46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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