#AC2789#AC2789

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

Color values

HEX#AC2789
RGBrgb(172, 39, 137)
HSLhsl(316, 63%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 77.3%, 20.3%, 32.5%)
CIE-LABlab(41.26, 61.35, -23.43)
CIE-LCHlch(41.26, 65.67, 339.10°)
OKLaboklab(51.95% 0.1838 -0.0631)
OKLCHoklch(51.95% 0.194 341)
XYZxyz(22.2548, 12.0301, 24.8121)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2789 #27AC4A
analogous
#8D27AC #AC2789 #AC2747
triadic
#AC2789 #89AC27 #2789AC
tetradic
#AC2789 #AC8D27 #27AC4A #2747AC
square
#AC2789 #AC8D27 #27AC4A #2747AC
split-complementary
#AC2789 #47AC27 #27AC8D
monochromatic
#48103A #7A1C61 #AC2789 #D33DAC #DE6FC1

Accessibility & contrast

On white

6.17
#AC2789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2789
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2789#FFFFFF#000000##FFFFFF
##AC27891.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#5E6986
Tritanopia (blue-blind)
#B72A56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2789;
/* rgb */ color: rgb(172, 39, 137);
/* oklch */ color: oklch(51.9% 0.194 341.0);
Tailwind
colors: {
  custom: {
    50: '#c970ab',
    500: '#ac2789',
    950: '#000000',
  },
}
SCSS
$custom: #ac2789;
$custom-light: #c970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2789",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 315.789,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.19438,
    "h": 341
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2789

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

Preview Lab → · Contrast checker → · Palette generator →

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