#AC2F7C#AC2F7C

#AC2F7C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.178 H 347.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC2F7C
RGBrgb(172, 47, 124)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 73%, 67%)
CMYKcmyk(0%, 72.7%, 27.9%, 32.5%)
CIE-LABlab(41.63, 57.05, -14.88)
CIE-LCHlch(41.63, 58.96, 345.38°)
OKLaboklab(52.03% 0.1734 -0.0393)
OKLCHoklch(52.03% 0.178 347.2)
XYZxyz(21.6689, 12.2613, 20.2904)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7C #2FAC5F
analogous
#9D2FAC #AC2F7C #AC2F3D
triadic
#AC2F7C #7CAC2F #2F7CAC
tetradic
#AC2F7C #AC9D2F #2FAC5F #2F3DAC
square
#AC2F7C #AC9D2F #2FAC5F #2F3DAC
split-complementary
#AC2F7C #3DAC2F #2FAC9D
monochromatic
#4C1537 #7C2259 #AC2F7C #CE4B9B #DB7BB6

Accessibility & contrast

On white

6.08
#AC2F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F7C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F7C#FFFFFF#000000##FFFFFF
##AC2F7C1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B82B51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7c;
/* rgb */ color: rgb(172, 47, 124);
/* oklch */ color: oklch(52.0% 0.178 347.2);
Tailwind
colors: {
  custom: {
    50: '#c973a2',
    500: '#ac2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7c;
$custom-light: #c973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7c",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 323.04,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.17778,
    "h": 347.2
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#AC2F7C
secondary
#74C392
accent
#E08247
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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