#AC2D7A#AC2D7A

#AC2D7A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.179 H 348.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC2D7A
RGBrgb(172, 45, 122)
HSLhsl(324, 59%, 43%)
HSVhsv(324, 74%, 67%)
CMYKcmyk(0%, 73.8%, 29.1%, 32.5%)
CIE-LABlab(41.30, 57.49, -14.14)
CIE-LCHlch(41.30, 59.20, 346.19°)
OKLaboklab(51.77% 0.1751 -0.0372)
OKLCHoklch(51.77% 0.179 348)
XYZxyz(21.4655, 12.0550, 19.6050)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D7A #2DAC5F
analogous
#9E2DAC #AC2D7A #AC2D3B
triadic
#AC2D7A #7AAC2D #2D7AAC
tetradic
#AC2D7A #AC9E2D #2DAC5F #2D3BAC
square
#AC2D7A #AC9E2D #2DAC5F #2D3BAC
split-complementary
#AC2D7A #3BAC2D #2DAC9E
monochromatic
#4B1435 #7B2058 #AC2D7A #CF479A #DC78B4

Accessibility & contrast

On white

6.16
#AC2D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2D7A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D7A#FFFFFF#000000##FFFFFF
##AC2D7A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537C
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#B82850
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2d7a;
/* rgb */ color: rgb(172, 45, 122);
/* oklch */ color: oklch(51.8% 0.179 348.0);
Tailwind
colors: {
  custom: {
    50: '#c972a0',
    500: '#ac2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d7a;
$custom-light: #c972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d7a",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 323.622,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.17899,
    "h": 348
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#AC2D7A
secondary
#71C492
accent
#E28346
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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