#AC2C8C#AC2C8C

#AC2C8C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.191 H 340.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AC2C8C
RGBrgb(172, 44, 140)
HSLhsl(315, 59%, 42%)
HSVhsv(315, 74%, 67%)
CMYKcmyk(0%, 74.4%, 18.6%, 32.5%)
CIE-LABlab(41.95, 60.20, -24.20)
CIE-LCHlch(41.95, 64.88, 338.10°)
OKLaboklab(52.49% 0.1795 -0.0653)
OKLCHoklch(52.49% 0.191 340)
XYZxyz(22.6482, 12.4677, 26.0196)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C8C #2CAC4C
analogous
#8C2CAC #AC2C8C #AC2C4C
triadic
#AC2C8C #8CAC2C #2C8CAC
tetradic
#AC2C8C #AC8C2C #2CAC4C #2C4CAC
square
#AC2C8C #AC8C2C #2CAC4C #2C4CAC
split-complementary
#AC2C8C #4CAC2C #2CAC8C
monochromatic
#4B133D #7B2064 #AC2C8C #D046AD #DC76C3

Accessibility & contrast

On white

6.01
#AC2C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C8C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C8C#FFFFFF#000000##FFFFFF
##AC2C8C1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#B63059
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2c8c;
/* rgb */ color: rgb(172, 44, 140);
/* oklch */ color: oklch(52.5% 0.191 340.0);
Tailwind
colors: {
  custom: {
    50: '#c972ae',
    500: '#ac2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c8c;
$custom-light: #c972ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c8c",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 315,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.19103,
    "h": 340
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#AC2C8C
secondary
#70C485
accent
#E26D45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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