#AC2D7C#AC2D7C

#AC2D7C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.180 H 347.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AC2D7C
RGBrgb(172, 45, 124)
HSLhsl(323, 59%, 43%)
HSVhsv(323, 74%, 67%)
CMYKcmyk(0%, 73.8%, 27.9%, 32.5%)
CIE-LABlab(41.38, 57.74, -15.25)
CIE-LCHlch(41.38, 59.72, 345.20°)
OKLaboklab(51.85% 0.1755 -0.0403)
OKLCHoklch(51.85% 0.18 347.1)
XYZxyz(21.5907, 12.1050, 20.2644)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D7C #2DAC5D
analogous
#9C2DAC #AC2D7C #AC2D3D
triadic
#AC2D7C #7CAC2D #2D7CAC
tetradic
#AC2D7C #AC9C2D #2DAC5D #2D3DAC
square
#AC2D7C #AC9C2D #2DAC5D #2D3DAC
split-complementary
#AC2D7C #3DAC2D #2DAC9C
monochromatic
#4B1436 #7B2059 #AC2D7C #CF479C #DC78B6

Accessibility & contrast

On white

6.14
#AC2D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D7C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D7C#FFFFFF#000000##FFFFFF
##AC2D7C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#646A79
Tritanopia (blue-blind)
#B82951
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2d7c;
/* rgb */ color: rgb(172, 45, 124);
/* oklch */ color: oklch(51.9% 0.180 347.1);
Tailwind
colors: {
  custom: {
    50: '#c972a2',
    500: '#ac2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d7c;
$custom-light: #c972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d7c",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 322.677,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.1801,
    "h": 347.1
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#AC2D7C
secondary
#71C490
accent
#E28146
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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