#AC2981#AC2981

#AC2981 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.187 H 344.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2981
RGBrgb(172, 41, 129)
HSLhsl(320, 62%, 42%)
HSVhsv(320, 76%, 67%)
CMYKcmyk(0%, 76.2%, 25%, 32.5%)
CIE-LABlab(41.13, 59.68, -18.73)
CIE-LCHlch(41.13, 62.55, 342.58°)
OKLaboklab(51.73% 0.1806 -0.0499)
OKLCHoklch(51.73% 0.187 344.6)
XYZxyz(21.7695, 11.9439, 21.9236)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2981 #29AC54
analogous
#9629AC #AC2981 #AC293F
triadic
#AC2981 #81AC29 #2981AC
tetradic
#AC2981 #AC9629 #29AC54 #293FAC
square
#AC2981 #AC9629 #29AC54 #293FAC
split-complementary
#AC2981 #3FAC29 #29AC96
monochromatic
#491137 #7B1D5C #AC2981 #D241A2 #DD72BA

Accessibility & contrast

On white

6.20
#AC2981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC2981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2981
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2981#FFFFFF#000000##FFFFFF
##AC29811.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#B82752
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2981;
/* rgb */ color: rgb(172, 41, 129);
/* oklch */ color: oklch(51.7% 0.187 344.6);
Tailwind
colors: {
  custom: {
    50: '#c970a5',
    500: '#ac2981',
    950: '#000000',
  },
}
SCSS
$custom: #ac2981;
$custom-light: #c970a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2981",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 319.695,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.1874,
    "h": 344.6
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#AC2981
secondary
#6CC589
accent
#E57843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC2981

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

Preview Lab → · Contrast checker → · Palette generator →

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