#AC2E7C#AC2E7C

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

Color values

HEX#AC2E7C
RGBrgb(172, 46, 124)
HSLhsl(323, 58%, 43%)
HSVhsv(323, 73%, 67%)
CMYKcmyk(0%, 73.3%, 27.9%, 32.5%)
CIE-LABlab(41.50, 57.40, -15.07)
CIE-LCHlch(41.50, 59.34, 345.29°)
OKLaboklab(51.94% 0.1745 -0.0398)
OKLCHoklch(51.94% 0.179 347.2)
XYZxyz(21.6293, 12.1823, 20.2772)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E7C #2EAC5E
analogous
#9D2EAC #AC2E7C #AC2E3D
triadic
#AC2E7C #7CAC2E #2E7CAC
tetradic
#AC2E7C #AC9D2E #2EAC5E #2E3DAC
square
#AC2E7C #AC9D2E #2EAC5E #2E3DAC
split-complementary
#AC2E7C #3DAC2E #2EAC9D
monochromatic
#4B1436 #7C2159 #AC2E7C #CE499B #DB79B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2E7C#FFFFFF#000000##FFFFFF
##AC2E7C1.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)
#3F547E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B82A51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2e7c;
/* rgb */ color: rgb(172, 46, 124);
/* oklch */ color: oklch(51.9% 0.179 347.2);
Tailwind
colors: {
  custom: {
    50: '#c972a2',
    500: '#ac2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e7c;
$custom-light: #c972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e7c",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 322.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.17895,
    "h": 347.2
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#AC2E7C
secondary
#72C391
accent
#E18247
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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