#AC2C86#AC2C86

#AC2C86 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 342.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC2C86
RGBrgb(172, 44, 134)
HSLhsl(318, 59%, 42%)
HSVhsv(318, 74%, 67%)
CMYKcmyk(0%, 74.4%, 22.1%, 32.5%)
CIE-LABlab(41.68, 59.38, -20.95)
CIE-LCHlch(41.68, 62.96, 340.57°)
OKLaboklab(52.21% 0.1786 -0.0562)
OKLCHoklch(52.21% 0.187 342.5)
XYZxyz(22.2178, 12.2955, 23.7528)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C86 #2CAC52
analogous
#922CAC #AC2C86 #AC2C46
triadic
#AC2C86 #86AC2C #2C86AC
tetradic
#AC2C86 #AC922C #2CAC52 #2C46AC
square
#AC2C86 #AC922C #2CAC52 #2C46AC
split-complementary
#AC2C86 #46AC2C #2CAC92
monochromatic
#4B133A #7B2060 #AC2C86 #D046A7 #DC76BE

Accessibility & contrast

On white

6.07
#AC2C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C86
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C86#FFFFFF#000000##FFFFFF
##AC2C861.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395588
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#B72D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2c86;
/* rgb */ color: rgb(172, 44, 134);
/* oklch */ color: oklch(52.2% 0.187 342.5);
Tailwind
colors: {
  custom: {
    50: '#c972a9',
    500: '#ac2c86',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c86;
$custom-light: #c972a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c86",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 317.813,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.18718,
    "h": 342.5
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#AC2C86
secondary
#70C489
accent
#E27445
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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