#AC2C7A#AC2C7A

#AC2C7A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.180 H 347.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AC2C7A
RGBrgb(172, 44, 122)
HSLhsl(323, 59%, 42%)
HSVhsv(323, 74%, 67%)
CMYKcmyk(0%, 74.4%, 29.1%, 32.5%)
CIE-LABlab(41.18, 57.83, -14.32)
CIE-LCHlch(41.18, 59.58, 346.09°)
OKLaboklab(51.68% 0.1761 -0.0377)
OKLCHoklch(51.68% 0.18 347.9)
XYZxyz(21.4278, 11.9796, 19.5924)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C7A #2CAC5E
analogous
#9E2CAC #AC2C7A #AC2C3A
triadic
#AC2C7A #7AAC2C #2C7AAC
tetradic
#AC2C7A #AC9E2C #2CAC5E #2C3AAC
square
#AC2C7A #AC9E2C #2CAC5E #2C3AAC
split-complementary
#AC2C7A #3AAC2C #2CAC9E
monochromatic
#4B1335 #7B2057 #AC2C7A #D0469A #DC76B4

Accessibility & contrast

On white

6.18
#AC2C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AC2C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C7A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C7A#FFFFFF#000000##FFFFFF
##AC2C7A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#B8264F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c7a;
/* rgb */ color: rgb(172, 44, 122);
/* oklch */ color: oklch(51.7% 0.180 347.9);
Tailwind
colors: {
  custom: {
    50: '#c971a0',
    500: '#ac2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c7a;
$custom-light: #c971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c7a",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 323.438,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.18012,
    "h": 347.9
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#AC2C7A
secondary
#70C491
accent
#E28345
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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