#AC2E9C#AC2E9C

#AC2E9C is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.5% C 0.200 H 333.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC2E9C
RGBrgb(172, 46, 156)
HSLhsl(308, 58%, 43%)
HSVhsv(308, 73%, 67%)
CMYKcmyk(0%, 73.3%, 9.3%, 32.5%)
CIE-LABlab(42.95, 61.88, -32.31)
CIE-LCHlch(42.95, 69.81, 332.43°)
OKLaboklab(53.46% 0.1792 -0.0885)
OKLCHoklch(53.46% 0.2 333.7)
XYZxyz(23.9912, 13.1270, 32.7163)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E9C #2EAC3E
analogous
#7D2EAC #AC2E9C #AC2E5D
triadic
#AC2E9C #9CAC2E #2E9CAC
tetradic
#AC2E9C #AC7D2E #2EAC3E #2E5DAC
square
#AC2E9C #AC7D2E #2EAC3E #2E5DAC
split-complementary
#AC2E9C #5DAC2E #2EAC7D
monochromatic
#4B1444 #7C2170 #AC2E9C #CE49BD #DB79CF

Accessibility & contrast

On white

5.79
#AC2E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2E9C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E9C#FFFFFF#000000##FFFFFF
##AC2E9C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#B43A62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e9c;
/* rgb */ color: rgb(172, 46, 156);
/* oklch */ color: oklch(53.5% 0.200 333.7);
Tailwind
colors: {
  custom: {
    50: '#c873b9',
    500: '#ac2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e9c;
$custom-light: #c873b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e9c",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 307.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.19992,
    "h": 333.7
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#AC2E9C
secondary
#72C37D
accent
#E15A47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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