#AC278A#AC278A

#AC278A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.195 H 340.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC278A
RGBrgb(172, 39, 138)
HSLhsl(315, 63%, 41%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 77.3%, 19.8%, 32.5%)
CIE-LABlab(41.31, 61.48, -23.97)
CIE-LCHlch(41.31, 65.99, 338.70°)
OKLaboklab(52% 0.184 -0.0647)
OKLCHoklch(52% 0.195 340.6)
XYZxyz(22.3269, 12.0589, 25.1916)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278A #27AC49
analogous
#8C27AC #AC278A #AC2748
triadic
#AC278A #8AAC27 #278AAC
tetradic
#AC278A #AC8C27 #27AC49 #2748AC
square
#AC278A #AC8C27 #27AC49 #2748AC
split-complementary
#AC278A #48AC27 #27AC8C
monochromatic
#48103A #7A1C62 #AC278A #D33DAD #DE6FC2

Accessibility & contrast

On white

6.16
#AC278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC278A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278A#FFFFFF#000000##FFFFFF
##AC278A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#B72B56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac278a;
/* rgb */ color: rgb(172, 39, 138);
/* oklch */ color: oklch(52.0% 0.195 340.6);
Tailwind
colors: {
  custom: {
    50: '#c970ac',
    500: '#ac278a',
    950: '#000000',
  },
}
SCSS
$custom: #ac278a;
$custom-light: #c970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278a",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 315.338,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.19501,
    "h": 340.6
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#AC278A
secondary
#6AC581
accent
#E66C42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278A

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

Preview Lab → · Contrast checker → · Palette generator →

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