#AC2D9F#AC2D9F

#AC2D9F is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.203 H 332.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC2D9F
RGBrgb(172, 45, 159)
HSLhsl(306, 59%, 43%)
HSVhsv(306, 74%, 67%)
CMYKcmyk(0%, 73.8%, 7.6%, 32.5%)
CIE-LABlab(42.99, 62.67, -34.05)
CIE-LCHlch(42.99, 71.32, 331.48°)
OKLaboklab(53.54% 0.1804 -0.0935)
OKLCHoklch(53.54% 0.203 332.6)
XYZxyz(24.2097, 13.1526, 34.0578)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D9F #2DAC3A
analogous
#7A2DAC #AC2D9F #AC2D5F
triadic
#AC2D9F #9FAC2D #2D9FAC
tetradic
#AC2D9F #AC7A2D #2DAC3A #2D5FAC
square
#AC2D9F #AC7A2D #2DAC3A #2D5FAC
split-complementary
#AC2D9F #5FAC2D #2DAC7A
monochromatic
#4B1445 #7B2072 #AC2D9F #CF47C1 #DC78D1

Accessibility & contrast

On white

5.78
#AC2D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC2D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D9F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D9F#FFFFFF#000000##FFFFFF
##AC2D9F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B43B63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2d9f;
/* rgb */ color: rgb(172, 45, 159);
/* oklch */ color: oklch(53.5% 0.203 332.6);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ac2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d9f;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d9f",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 306.142,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.20319,
    "h": 332.6
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#AC2D9F
secondary
#71C47A
accent
#E25646
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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