#AC2E97#AC2E97

#AC2E97 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 335.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC2E97
RGBrgb(172, 46, 151)
HSLhsl(310, 58%, 43%)
HSVhsv(310, 73%, 67%)
CMYKcmyk(0%, 73.3%, 12.2%, 32.5%)
CIE-LABlab(42.70, 61.12, -29.69)
CIE-LCHlch(42.70, 67.95, 334.09°)
OKLaboklab(53.2% 0.1788 -0.081)
OKLCHoklch(53.2% 0.196 335.6)
XYZxyz(23.5765, 12.9611, 30.5322)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E97 #2EAC43
analogous
#822EAC #AC2E97 #AC2E58
triadic
#AC2E97 #97AC2E #2E97AC
tetradic
#AC2E97 #AC822E #2EAC43 #2E58AC
square
#AC2E97 #AC822E #2EAC43 #2E58AC
split-complementary
#AC2E97 #58AC2E #2EAC82
monochromatic
#4B1442 #7C216D #AC2E97 #CE49B8 #DB79CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2E97#FFFFFF#000000##FFFFFF
##AC2E971.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)
#2F599A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#B5375F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e97;
/* rgb */ color: rgb(172, 46, 151);
/* oklch */ color: oklch(53.2% 0.196 335.6);
Tailwind
colors: {
  custom: {
    50: '#c873b6',
    500: '#ac2e97',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e97;
$custom-light: #c873b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e97",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 310,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.19632,
    "h": 335.6
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#AC2E97
secondary
#72C380
accent
#E16047
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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