#AC2A7A#AC2A7A

#AC2A7A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.182 H 347.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AC2A7A
RGBrgb(172, 42, 122)
HSLhsl(323, 61%, 42%)
HSVhsv(323, 76%, 67%)
CMYKcmyk(0%, 75.6%, 29.1%, 32.5%)
CIE-LABlab(40.95, 58.49, -14.67)
CIE-LCHlch(40.95, 60.30, 345.92°)
OKLaboklab(51.51% 0.1782 -0.0387)
OKLCHoklch(51.51% 0.182 347.8)
XYZxyz(21.3551, 11.8341, 19.5682)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A7A #2AAC5C
analogous
#9D2AAC #AC2A7A #AC2A39
triadic
#AC2A7A #7AAC2A #2A7AAC
tetradic
#AC2A7A #AC9D2A #2AAC5C #2A39AC
square
#AC2A7A #AC9D2A #2AAC5C #2A39AC
split-complementary
#AC2A7A #39AC2A #2AAC9D
monochromatic
#4A1234 #7B1E57 #AC2A7A #D1429A #DD73B4

Accessibility & contrast

On white

6.24
#AC2A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC2A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A7A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A7A#FFFFFF#000000##FFFFFF
##AC2A7A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B8244E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2a7a;
/* rgb */ color: rgb(172, 42, 122);
/* oklch */ color: oklch(51.5% 0.182 347.8);
Tailwind
colors: {
  custom: {
    50: '#c971a0',
    500: '#ac2a7a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a7a;
$custom-light: #c971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a7a",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 323.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.18233,
    "h": 347.8
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#AC2A7A
secondary
#6DC48F
accent
#E48144
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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