#AC2C94#AC2C94

#AC2C94 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.196 H 336.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC2C94
RGBrgb(172, 44, 148)
HSLhsl(311, 59%, 42%)
HSVhsv(311, 74%, 67%)
CMYKcmyk(0%, 74.4%, 14%, 32.5%)
CIE-LABlab(42.33, 61.34, -28.47)
CIE-LCHlch(42.33, 67.62, 335.10°)
OKLaboklab(52.88% 0.1805 -0.0775)
OKLCHoklch(52.88% 0.196 336.8)
XYZxyz(23.2597, 12.7123, 29.2400)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C94 #2CAC44
analogous
#842CAC #AC2C94 #AC2C54
triadic
#AC2C94 #94AC2C #2C94AC
tetradic
#AC2C94 #AC842C #2CAC44 #2C54AC
square
#AC2C94 #AC842C #2CAC44 #2C54AC
split-complementary
#AC2C94 #54AC2C #2CAC84
monochromatic
#4B1340 #7B206A #AC2C94 #D046B6 #DC76C9

Accessibility & contrast

On white

5.93
#AC2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC2C94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C94
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C94#FFFFFF#000000##FFFFFF
##AC2C941.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5797
Deuteranopia (green-blind)
#5B6B91
Tritanopia (blue-blind)
#B5345D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c94;
/* rgb */ color: rgb(172, 44, 148);
/* oklch */ color: oklch(52.9% 0.196 336.8);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ac2c94',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c94;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c94",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 311.25,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.19643,
    "h": 336.8
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#AC2C94
secondary
#70C480
accent
#E26345
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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