#AC2E81#AC2E81

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

Color values

HEX#AC2E81
RGBrgb(172, 46, 129)
HSLhsl(320, 58%, 43%)
HSVhsv(320, 73%, 67%)
CMYKcmyk(0%, 73.3%, 25%, 32.5%)
CIE-LABlab(41.71, 58.04, -17.84)
CIE-LCHlch(41.71, 60.72, 342.92°)
OKLaboklab(52.15% 0.1756 -0.0475)
OKLCHoklch(52.15% 0.182 344.9)
XYZxyz(21.9536, 12.3120, 21.9849)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E81 #2EAC59
analogous
#982EAC #AC2E81 #AC2E42
triadic
#AC2E81 #81AC2E #2E81AC
tetradic
#AC2E81 #AC982E #2EAC59 #2E42AC
square
#AC2E81 #AC982E #2EAC59 #2E42AC
split-complementary
#AC2E81 #42AC2E #2EAC98
monochromatic
#4B1439 #7C215D #AC2E81 #CE49A1 #DB79BA

Accessibility & contrast

On white

6.07
#AC2E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E81
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E81#FFFFFF#000000##FFFFFF
##AC2E811.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#B82C53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2e81;
/* rgb */ color: rgb(172, 46, 129);
/* oklch */ color: oklch(52.2% 0.182 344.9);
Tailwind
colors: {
  custom: {
    50: '#c972a5',
    500: '#ac2e81',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e81;
$custom-light: #c972a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e81",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 320.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.18185,
    "h": 344.9
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#AC2E81
secondary
#72C38E
accent
#E17B47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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