#AC2C92#AC2C92

#AC2C92 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.195 H 337.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AC2C92
RGBrgb(172, 44, 146)
HSLhsl(312, 59%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 74.4%, 15.1%, 32.5%)
CIE-LABlab(42.23, 61.05, -27.41)
CIE-LCHlch(42.23, 66.92, 335.82°)
OKLaboklab(52.78% 0.1803 -0.0745)
OKLCHoklch(52.78% 0.195 337.6)
XYZxyz(23.1027, 12.6495, 28.4134)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C92 #2CAC46
analogous
#862CAC #AC2C92 #AC2C52
triadic
#AC2C92 #92AC2C #2C92AC
tetradic
#AC2C92 #AC862C #2CAC46 #2C52AC
square
#AC2C92 #AC862C #2CAC46 #2C52AC
split-complementary
#AC2C92 #52AC2C #2CAC86
monochromatic
#4B133F #7B2069 #AC2C92 #D046B4 #DC76C7

Accessibility & contrast

On white

5.95
#AC2C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC2C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C92
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C92#FFFFFF#000000##FFFFFF
##AC2C921.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#5C6B8F
Tritanopia (blue-blind)
#B5335C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c92;
/* rgb */ color: rgb(172, 44, 146);
/* oklch */ color: oklch(52.8% 0.195 337.6);
Tailwind
colors: {
  custom: {
    50: '#c972b2',
    500: '#ac2c92',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c92;
$custom-light: #c972b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c92",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 312.188,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.19506,
    "h": 337.6
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#AC2C92
secondary
#70C481
accent
#E26545
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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