#AC2E7B#AC2E7B

#AC2E7B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.178 H 347.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AC2E7B
RGBrgb(172, 46, 123)
HSLhsl(323, 58%, 43%)
HSVhsv(323, 73%, 67%)
CMYKcmyk(0%, 73.3%, 28.5%, 32.5%)
CIE-LABlab(41.46, 57.27, -14.51)
CIE-LCHlch(41.46, 59.08, 345.78°)
OKLaboklab(51.9% 0.1742 -0.0382)
OKLCHoklch(51.9% 0.178 347.6)
XYZxyz(21.5664, 12.1571, 19.9459)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E7B #2EAC5F
analogous
#9E2EAC #AC2E7B #AC2E3C
triadic
#AC2E7B #7BAC2E #2E7BAC
tetradic
#AC2E7B #AC9E2E #2EAC5F #2E3CAC
square
#AC2E7B #AC9E2E #2EAC5F #2E3CAC
split-complementary
#AC2E7B #3CAC2E #2EAC9E
monochromatic
#4B1436 #7C2158 #AC2E7B #CE499A #DB79B5

Accessibility & contrast

On white

6.12
#AC2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC2E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E7B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E7B#FFFFFF#000000##FFFFFF
##AC2E7B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#B82950
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2e7b;
/* rgb */ color: rgb(172, 46, 123);
/* oklch */ color: oklch(51.9% 0.178 347.6);
Tailwind
colors: {
  custom: {
    50: '#c972a1',
    500: '#ac2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e7b;
$custom-light: #c972a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e7b",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 323.333,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.17839,
    "h": 347.6
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#AC2E7B
secondary
#72C392
accent
#E18347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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