#AC2788#AC2788

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

Color values

HEX#AC2788
RGBrgb(172, 39, 136)
HSLhsl(316, 63%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 77.3%, 20.9%, 32.5%)
CIE-LABlab(41.22, 61.21, -22.89)
CIE-LCHlch(41.22, 65.35, 339.50°)
OKLaboklab(51.9% 0.1837 -0.0616)
OKLCHoklch(51.9% 0.194 341.5)
XYZxyz(22.1834, 12.0016, 24.4360)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2788 #27AC4B
analogous
#8E27AC #AC2788 #AC2745
triadic
#AC2788 #88AC27 #2788AC
tetradic
#AC2788 #AC8E27 #27AC4B #2745AC
square
#AC2788 #AC8E27 #27AC4B #2745AC
split-complementary
#AC2788 #45AC27 #27AC8E
monochromatic
#481039 #7A1C61 #AC2788 #D33DAA #DE6FC0

Accessibility & contrast

On white

6.18
#AC2788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AC2788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2788
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2788#FFFFFF#000000##FFFFFF
##AC27881.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5E6985
Tritanopia (blue-blind)
#B72A55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2788;
/* rgb */ color: rgb(172, 39, 136);
/* oklch */ color: oklch(51.9% 0.194 341.5);
Tailwind
colors: {
  custom: {
    50: '#c970ab',
    500: '#ac2788',
    950: '#000000',
  },
}
SCSS
$custom: #ac2788;
$custom-light: #c970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2788",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 316.241,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.19374,
    "h": 341.5
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#AC2788
secondary
#6AC582
accent
#E66E42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2788

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

Preview Lab → · Contrast checker → · Palette generator →

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