#AC2B72#AC2B72

#AC2B72 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.177 H 351.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AC2B72
RGBrgb(172, 43, 114)
HSLhsl(327, 60%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 75%, 33.7%, 32.5%)
CIE-LABlab(40.76, 57.21, -9.99)
CIE-LCHlch(40.76, 58.07, 350.09°)
OKLaboklab(51.27% 0.1752 -0.0258)
OKLCHoklch(51.27% 0.177 351.6)
XYZxyz(20.9156, 11.7158, 17.0763)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B72 #2BAC65
analogous
#A62BAC #AC2B72 #AC2B31
triadic
#AC2B72 #72AC2B #2B72AC
tetradic
#AC2B72 #ACA62B #2BAC65 #2B31AC
square
#AC2B72 #ACA62B #2BAC65 #2B31AC
split-complementary
#AC2B72 #31AC2B #2BACA6
monochromatic
#4A1331 #7B1F52 #AC2B72 #D04491 #DC75AE

Accessibility & contrast

On white

6.28
#AC2B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AC2B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B72
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B72#FFFFFF#000000##FFFFFF
##AC2B721.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425174
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#B9214B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2b72;
/* rgb */ color: rgb(172, 43, 114);
/* oklch */ color: oklch(51.3% 0.177 351.6);
Tailwind
colors: {
  custom: {
    50: '#c9719a',
    500: '#ac2b72',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b72;
$custom-light: #c9719a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b72",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 326.977,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.17708,
    "h": 351.6
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#AC2B72
secondary
#6FC495
accent
#E38C45
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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