#AC2E82#AC2E82

#AC2E82 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.182 H 344.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC2E82
RGBrgb(172, 46, 130)
HSLhsl(320, 58%, 43%)
HSVhsv(320, 73%, 67%)
CMYKcmyk(0%, 73.3%, 24.4%, 32.5%)
CIE-LABlab(41.75, 58.17, -18.39)
CIE-LCHlch(41.75, 61.01, 342.46°)
OKLaboklab(52.2% 0.1758 -0.049)
OKLCHoklch(52.2% 0.182 344.4)
XYZxyz(22.0204, 12.3387, 22.3367)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E82 #2EAC58
analogous
#972EAC #AC2E82 #AC2E43
triadic
#AC2E82 #82AC2E #2E82AC
tetradic
#AC2E82 #AC972E #2EAC58 #2E43AC
square
#AC2E82 #AC972E #2EAC58 #2E43AC
split-complementary
#AC2E82 #43AC2E #2EAC97
monochromatic
#4B1439 #7C215E #AC2E82 #CE49A2 #DB79BB

Accessibility & contrast

On white

6.06
#AC2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E82
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E82#FFFFFF#000000##FFFFFF
##AC2E821.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#B72D54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2e82;
/* rgb */ color: rgb(172, 46, 130);
/* oklch */ color: oklch(52.2% 0.182 344.4);
Tailwind
colors: {
  custom: {
    50: '#c972a6',
    500: '#ac2e82',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e82;
$custom-light: #c972a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e82",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 320,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.18245,
    "h": 344.4
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#AC2E82
secondary
#72C38D
accent
#E17A47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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