#AC2D7B#AC2D7B

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

Color values

HEX#AC2D7B
RGBrgb(172, 45, 123)
HSLhsl(323, 59%, 43%)
HSVhsv(323, 74%, 67%)
CMYKcmyk(0%, 73.8%, 28.5%, 32.5%)
CIE-LABlab(41.34, 57.62, -14.70)
CIE-LCHlch(41.34, 59.46, 345.69°)
OKLaboklab(51.81% 0.1753 -0.0387)
OKLCHoklch(51.81% 0.18 347.5)
XYZxyz(21.5278, 12.0799, 19.9330)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D7B #2DAC5E
analogous
#9E2DAC #AC2D7B #AC2D3B
triadic
#AC2D7B #7BAC2D #2D7BAC
tetradic
#AC2D7B #AC9E2D #2DAC5E #2D3BAC
square
#AC2D7B #AC9E2D #2DAC5E #2D3BAC
split-complementary
#AC2D7B #3BAC2D #2DAC9E
monochromatic
#4B1436 #7B2058 #AC2D7B #CF479B #DC78B5

Accessibility & contrast

On white

6.15
#AC2D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2D7B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D7B#FFFFFF#000000##FFFFFF
##AC2D7B1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#656978
Tritanopia (blue-blind)
#B82850
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2d7b;
/* rgb */ color: rgb(172, 45, 123);
/* oklch */ color: oklch(51.8% 0.180 347.5);
Tailwind
colors: {
  custom: {
    50: '#c972a1',
    500: '#ac2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d7b;
$custom-light: #c972a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d7b",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 323.15,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.17954,
    "h": 347.5
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#AC2D7B
secondary
#71C491
accent
#E28246
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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