#AC2A7C#AC2A7C

#AC2A7C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.183 H 346.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AC2A7C
RGBrgb(172, 42, 124)
HSLhsl(322, 61%, 42%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 75.6%, 27.9%, 32.5%)
CIE-LABlab(41.03, 58.73, -15.79)
CIE-LCHlch(41.03, 60.82, 344.95°)
OKLaboklab(51.6% 0.1786 -0.0417)
OKLCHoklch(51.6% 0.183 346.8)
XYZxyz(21.4803, 11.8842, 20.2275)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A7C #2AAC5A
analogous
#9B2AAC #AC2A7C #AC2A3B
triadic
#AC2A7C #7CAC2A #2A7CAC
tetradic
#AC2A7C #AC9B2A #2AAC5A #2A3BAC
square
#AC2A7C #AC9B2A #2AAC5A #2A3BAC
split-complementary
#AC2A7C #3BAC2A #2AAC9B
monochromatic
#4A1235 #7B1E59 #AC2A7C #D1429C #DD73B6

Accessibility & contrast

On white

6.22
#AC2A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A7C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A7C#FFFFFF#000000##FFFFFF
##AC2A7C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537E
Deuteranopia (green-blind)
#636979
Tritanopia (blue-blind)
#B82650
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2a7c;
/* rgb */ color: rgb(172, 42, 124);
/* oklch */ color: oklch(51.6% 0.183 346.8);
Tailwind
colors: {
  custom: {
    50: '#c971a2',
    500: '#ac2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a7c;
$custom-light: #c971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a7c",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 322.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.18344,
    "h": 346.8
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AC2A7C
secondary
#6DC48E
accent
#E47F44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AC2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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