#AC2E71#AC2E71

#AC2E71 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.173 H 352.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC2E71
RGBrgb(172, 46, 113)
HSLhsl(328, 58%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 73.3%, 34.3%, 32.5%)
CIE-LABlab(41.09, 56.07, -8.88)
CIE-LCHlch(41.09, 56.77, 351.00°)
OKLaboklab(51.5% 0.1717 -0.0228)
OKLCHoklch(51.5% 0.173 352.4)
XYZxyz(20.9721, 11.9194, 16.8158)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E71 #2EAC69
analogous
#A82EAC #AC2E71 #AC2E32
triadic
#AC2E71 #71AC2E #2E71AC
tetradic
#AC2E71 #ACA82E #2EAC69 #2E32AC
square
#AC2E71 #ACA82E #2EAC69 #2E32AC
split-complementary
#AC2E71 #32AC2E #2EACA8
monochromatic
#4B1432 #7C2151 #AC2E71 #CE4990 #DB79AD

Accessibility & contrast

On white

6.21
#AC2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2E71
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E71#FFFFFF#000000##FFFFFF
##AC2E711.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#B9244B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2e71;
/* rgb */ color: rgb(172, 46, 113);
/* oklch */ color: oklch(51.5% 0.173 352.4);
Tailwind
colors: {
  custom: {
    50: '#c97299',
    500: '#ac2e71',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e71;
$custom-light: #c97299;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e71",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 328.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.17319,
    "h": 352.4
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#AC2E71
secondary
#72C398
accent
#E18F47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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