#AC2C9F#AC2C9F

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

Color values

HEX#AC2C9F
RGBrgb(172, 44, 159)
HSLhsl(306, 59%, 42%)
HSVhsv(306, 74%, 67%)
CMYKcmyk(0%, 74.4%, 7.6%, 32.5%)
CIE-LABlab(42.88, 62.99, -34.23)
CIE-LCHlch(42.88, 71.69, 331.48°)
OKLaboklab(53.46% 0.1813 -0.094)
OKLCHoklch(53.46% 0.204 332.6)
XYZxyz(24.1720, 13.0772, 34.0452)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C9F #2CAC39
analogous
#792CAC #AC2C9F #AC2C5F
triadic
#AC2C9F #9FAC2C #2C9FAC
tetradic
#AC2C9F #AC792C #2CAC39 #2C5FAC
square
#AC2C9F #AC792C #2CAC39 #2C5FAC
split-complementary
#AC2C9F #5FAC2C #2CAC79
monochromatic
#4B1345 #7B2072 #AC2C9F #D046C2 #DC76D2

Accessibility & contrast

On white

5.81
#AC2C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC2C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C9F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C9F#FFFFFF#000000##FFFFFF
##AC2C9F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#B43A63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2c9f;
/* rgb */ color: rgb(172, 44, 159);
/* oklch */ color: oklch(53.5% 0.204 332.6);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ac2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c9f;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c9f",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 306.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.20426,
    "h": 332.6
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#AC2C9F
secondary
#70C478
accent
#E25545
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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