#AC2C7B#AC2C7B

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

Color values

HEX#AC2C7B
RGBrgb(172, 44, 123)
HSLhsl(323, 59%, 42%)
HSVhsv(323, 74%, 67%)
CMYKcmyk(0%, 74.4%, 28.5%, 32.5%)
CIE-LABlab(41.22, 57.95, -14.88)
CIE-LCHlch(41.22, 59.83, 345.60°)
OKLaboklab(51.72% 0.1764 -0.0392)
OKLCHoklch(51.72% 0.181 347.5)
XYZxyz(21.4901, 12.0045, 19.9204)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C7B #2CAC5D
analogous
#9D2CAC #AC2C7B #AC2C3B
triadic
#AC2C7B #7BAC2C #2C7BAC
tetradic
#AC2C7B #AC9D2C #2CAC5D #2C3BAC
square
#AC2C7B #AC9D2C #2CAC5D #2C3BAC
split-complementary
#AC2C7B #3BAC2C #2CAC9D
monochromatic
#4B1335 #7B2058 #AC2C7B #D0469B #DC76B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2C7B#FFFFFF#000000##FFFFFF
##AC2C7B1.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)
#3E537D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#B82750
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c7b;
/* rgb */ color: rgb(172, 44, 123);
/* oklch */ color: oklch(51.7% 0.181 347.5);
Tailwind
colors: {
  custom: {
    50: '#c971a1',
    500: '#ac2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c7b;
$custom-light: #c971a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c7b",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 322.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.18067,
    "h": 347.5
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#AC2C7B
secondary
#70C490
accent
#E28145
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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