#AC2C93#AC2C93

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

Color values

HEX#AC2C93
RGBrgb(172, 44, 147)
HSLhsl(312, 59%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 74.4%, 14.5%, 32.5%)
CIE-LABlab(42.28, 61.19, -27.94)
CIE-LCHlch(42.28, 67.27, 335.46°)
OKLaboklab(52.83% 0.1804 -0.076)
OKLCHoklch(52.83% 0.196 337.2)
XYZxyz(23.1808, 12.6808, 28.8249)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C93 #2CAC45
analogous
#852CAC #AC2C93 #AC2C53
triadic
#AC2C93 #93AC2C #2C93AC
tetradic
#AC2C93 #AC852C #2CAC45 #2C53AC
square
#AC2C93 #AC852C #2CAC45 #2C53AC
split-complementary
#AC2C93 #53AC2C #2CAC85
monochromatic
#4B1340 #7B2069 #AC2C93 #D046B5 #DC76C8

Accessibility & contrast

On white

5.94
#AC2C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2C93
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C93#FFFFFF#000000##FFFFFF
##AC2C931.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#B5345C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c93;
/* rgb */ color: rgb(172, 44, 147);
/* oklch */ color: oklch(52.8% 0.196 337.2);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ac2c93',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c93;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c93",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 311.719,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.19574,
    "h": 337.2
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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