#AC2C7D#AC2C7D

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

Color values

HEX#AC2C7D
RGBrgb(172, 44, 125)
HSLhsl(322, 59%, 42%)
HSVhsv(322, 74%, 67%)
CMYKcmyk(0%, 74.4%, 27.3%, 32.5%)
CIE-LABlab(41.30, 58.20, -15.99)
CIE-LCHlch(41.30, 60.36, 344.64°)
OKLaboklab(51.81% 0.1768 -0.0423)
OKLCHoklch(51.81% 0.182 346.5)
XYZxyz(21.6166, 12.0551, 20.5865)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C7D #2CAC5B
analogous
#9B2CAC #AC2C7D #AC2C3D
triadic
#AC2C7D #7DAC2C #2C7DAC
tetradic
#AC2C7D #AC9B2C #2CAC5B #2C3DAC
square
#AC2C7D #AC9B2C #2CAC5B #2C3DAC
split-complementary
#AC2C7D #3DAC2C #2CAC9B
monochromatic
#4B1336 #7B205A #AC2C7D #D0469D #DC76B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2C7D#FFFFFF#000000##FFFFFF
##AC2C7D1.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)
#3D537F
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#B82851
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c7d;
/* rgb */ color: rgb(172, 44, 125);
/* oklch */ color: oklch(51.8% 0.182 346.5);
Tailwind
colors: {
  custom: {
    50: '#c971a2',
    500: '#ac2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c7d;
$custom-light: #c971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c7d",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 322.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.1818,
    "h": 346.5
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#AC2C7D
secondary
#70C48F
accent
#E27F45
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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