#AC2F7A#AC2F7A

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

Color values

HEX#AC2F7A
RGBrgb(172, 47, 122)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 72.7%, 29.1%, 32.5%)
CIE-LABlab(41.55, 56.80, -13.76)
CIE-LCHlch(41.55, 58.44, 346.38°)
OKLaboklab(51.95% 0.1729 -0.0362)
OKLCHoklch(51.95% 0.177 348.2)
XYZxyz(21.5437, 12.2112, 19.6310)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7A #2FAC61
analogous
#9F2FAC #AC2F7A #AC2F3B
triadic
#AC2F7A #7AAC2F #2F7AAC
tetradic
#AC2F7A #AC9F2F #2FAC61 #2F3BAC
square
#AC2F7A #AC9F2F #2FAC61 #2F3BAC
split-complementary
#AC2F7A #3BAC2F #2FAC9F
monochromatic
#4C1536 #7C2258 #AC2F7A #CE4B99 #DB7BB4

Accessibility & contrast

On white

6.10
#AC2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F7A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F7A#FFFFFF#000000##FFFFFF
##AC2F7A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#B82A50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7a;
/* rgb */ color: rgb(172, 47, 122);
/* oklch */ color: oklch(51.9% 0.177 348.2);
Tailwind
colors: {
  custom: {
    50: '#c973a0',
    500: '#ac2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7a;
$custom-light: #c973a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7a",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 324,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.17666,
    "h": 348.2
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#AC2F7A
secondary
#74C393
accent
#E08547
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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