#AC2B81#AC2B81

#AC2B81 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.185 H 344.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2B81
RGBrgb(172, 43, 129)
HSLhsl(320, 60%, 42%)
HSVhsv(320, 75%, 67%)
CMYKcmyk(0%, 75%, 25%, 32.5%)
CIE-LABlab(41.35, 59.04, -18.38)
CIE-LCHlch(41.35, 61.84, 342.71°)
OKLaboklab(51.9% 0.1787 -0.049)
OKLCHoklch(51.9% 0.185 344.7)
XYZxyz(21.8405, 12.0857, 21.9472)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B81 #2BAC56
analogous
#972BAC #AC2B81 #AC2B41
triadic
#AC2B81 #81AC2B #2B81AC
tetradic
#AC2B81 #AC972B #2BAC56 #2B41AC
square
#AC2B81 #AC972B #2BAC56 #2B41AC
split-complementary
#AC2B81 #41AC2B #2BAC97
monochromatic
#4A1338 #7B1F5C #AC2B81 #D044A1 #DC75BA

Accessibility & contrast

On white

6.15
#AC2B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2B81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B81
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B81#FFFFFF#000000##FFFFFF
##AC2B811.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#B82952
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2b81;
/* rgb */ color: rgb(172, 43, 129);
/* oklch */ color: oklch(51.9% 0.185 344.7);
Tailwind
colors: {
  custom: {
    50: '#c971a5',
    500: '#ac2b81',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b81;
$custom-light: #c971a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b81",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 320,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.18524,
    "h": 344.7
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#AC2B81
secondary
#6FC48B
accent
#E37945
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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