#AC2C7C#AC2C7C

#AC2C7C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.181 H 347.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC2C7C
RGBrgb(172, 44, 124)
HSLhsl(323, 59%, 42%)
HSVhsv(323, 74%, 67%)
CMYKcmyk(0%, 74.4%, 27.9%, 32.5%)
CIE-LABlab(41.26, 58.08, -15.44)
CIE-LCHlch(41.26, 60.09, 345.12°)
OKLaboklab(51.77% 0.1766 -0.0408)
OKLCHoklch(51.77% 0.181 347)
XYZxyz(21.5530, 12.0296, 20.2518)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C7C #2CAC5C
analogous
#9C2CAC #AC2C7C #AC2C3C
triadic
#AC2C7C #7CAC2C #2C7CAC
tetradic
#AC2C7C #AC9C2C #2CAC5C #2C3CAC
square
#AC2C7C #AC9C2C #2CAC5C #2C3CAC
split-complementary
#AC2C7C #3CAC2C #2CAC9C
monochromatic
#4B1336 #7B2059 #AC2C7C #D0469C #DC76B6

Accessibility & contrast

On white

6.17
#AC2C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C7C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C7C#FFFFFF#000000##FFFFFF
##AC2C7C1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#B82850
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c7c;
/* rgb */ color: rgb(172, 44, 124);
/* oklch */ color: oklch(51.8% 0.181 347.0);
Tailwind
colors: {
  custom: {
    50: '#c971a2',
    500: '#ac2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c7c;
$custom-light: #c971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c7c",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 322.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.18124,
    "h": 347
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#AC2C7C
secondary
#70C48F
accent
#E28045
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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