#AC2787#AC2787

#AC2787 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.193 H 341.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AC2787
RGBrgb(172, 39, 135)
HSLhsl(317, 63%, 41%)
HSVhsv(317, 77%, 67%)
CMYKcmyk(0%, 77.3%, 21.5%, 32.5%)
CIE-LABlab(41.17, 61.08, -22.34)
CIE-LCHlch(41.17, 65.04, 339.91°)
OKLaboklab(51.85% 0.1835 -0.0601)
OKLCHoklch(51.85% 0.193 341.9)
XYZxyz(22.1127, 11.9733, 24.0635)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2787 #27AC4C
analogous
#8F27AC #AC2787 #AC2745
triadic
#AC2787 #87AC27 #2787AC
tetradic
#AC2787 #AC8F27 #27AC4C #2745AC
square
#AC2787 #AC8F27 #27AC4C #2745AC
split-complementary
#AC2787 #45AC27 #27AC8F
monochromatic
#481039 #7A1C60 #AC2787 #D33DA9 #DE6FBF

Accessibility & contrast

On white

6.19
#AC2787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2787
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2787#FFFFFF#000000##FFFFFF
##AC27871.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#B72954
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2787;
/* rgb */ color: rgb(172, 39, 135);
/* oklch */ color: oklch(51.9% 0.193 341.9);
Tailwind
colors: {
  custom: {
    50: '#c970aa',
    500: '#ac2787',
    950: '#000000',
  },
}
SCSS
$custom: #ac2787;
$custom-light: #c970aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2787",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 316.692,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.19312,
    "h": 341.9
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#AC2787
secondary
#6AC583
accent
#E66F42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2787

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

Preview Lab → · Contrast checker → · Palette generator →

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