#AC2F96#AC2F96

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

Color values

HEX#AC2F96
RGBrgb(172, 47, 150)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 73%, 67%)
CMYKcmyk(0%, 72.7%, 12.8%, 32.5%)
CIE-LABlab(42.77, 60.64, -28.98)
CIE-LCHlch(42.77, 67.20, 334.46°)
OKLaboklab(53.24% 0.1777 -0.079)
OKLCHoklch(53.24% 0.194 336)
XYZxyz(23.5351, 13.0078, 30.1195)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F96 #2FAC45
analogous
#832FAC #AC2F96 #AC2F57
triadic
#AC2F96 #96AC2F #2F96AC
tetradic
#AC2F96 #AC832F #2FAC45 #2F57AC
square
#AC2F96 #AC832F #2FAC45 #2F57AC
split-complementary
#AC2F96 #57AC2F #2FAC83
monochromatic
#4C1542 #7C226C #AC2F96 #CE4BB7 #DB7BCA

Accessibility & contrast

On white

5.83
#AC2F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC2F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F96
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F96#FFFFFF#000000##FFFFFF
##AC2F961.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#B5385F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2f96;
/* rgb */ color: rgb(172, 47, 150);
/* oklch */ color: oklch(53.2% 0.194 336.0);
Tailwind
colors: {
  custom: {
    50: '#c874b5',
    500: '#ac2f96',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f96;
$custom-light: #c874b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f96",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 310.56,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.19448,
    "h": 336
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#AC2F96
secondary
#74C382
accent
#E06247
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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