#AC2D7F#AC2D7F

#AC2D7F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.182 H 345.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC2D7F
RGBrgb(172, 45, 127)
HSLhsl(321, 59%, 43%)
HSVhsv(321, 74%, 67%)
CMYKcmyk(0%, 73.8%, 26.2%, 32.5%)
CIE-LABlab(41.50, 58.12, -16.92)
CIE-LCHlch(41.50, 60.53, 343.77°)
OKLaboklab(51.98% 0.1762 -0.0449)
OKLCHoklch(51.98% 0.182 345.7)
XYZxyz(21.7833, 12.1821, 21.2788)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D7F #2DAC5A
analogous
#992DAC #AC2D7F #AC2D3F
triadic
#AC2D7F #7FAC2D #2D7FAC
tetradic
#AC2D7F #AC992D #2DAC5A #2D3FAC
square
#AC2D7F #AC992D #2DAC5A #2D3FAC
split-complementary
#AC2D7F #3FAC2D #2DAC99
monochromatic
#4B1437 #7B205B #AC2D7F #CF479F #DC78B8

Accessibility & contrast

On white

6.11
#AC2D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC2D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D7F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D7F#FFFFFF#000000##FFFFFF
##AC2D7F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#B82A52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2d7f;
/* rgb */ color: rgb(172, 45, 127);
/* oklch */ color: oklch(52.0% 0.182 345.7);
Tailwind
colors: {
  custom: {
    50: '#c972a4',
    500: '#ac2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d7f;
$custom-light: #c972a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d7f",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 321.26,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.18182,
    "h": 345.7
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#AC2D7F
secondary
#71C48E
accent
#E27D46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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