#AC278C#AC278C

#AC278C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.196 H 339.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AC278C
RGBrgb(172, 39, 140)
HSLhsl(314, 63%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 77.3%, 18.6%, 32.5%)
CIE-LABlab(41.40, 61.76, -25.05)
CIE-LCHlch(41.40, 66.64, 337.92°)
OKLaboklab(52.09% 0.1842 -0.0677)
OKLCHoklch(52.09% 0.196 339.8)
XYZxyz(22.4730, 12.1174, 25.9612)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278C #27AC47
analogous
#8A27AC #AC278C #AC274A
triadic
#AC278C #8CAC27 #278CAC
tetradic
#AC278C #AC8A27 #27AC47 #274AAC
square
#AC278C #AC8A27 #27AC47 #274AAC
split-complementary
#AC278C #4AAC27 #27AC8A
monochromatic
#48103B #7A1C63 #AC278C #D33DAF #DE6FC4

Accessibility & contrast

On white

6.13
#AC278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC278C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC278C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278C#FFFFFF#000000##FFFFFF
##AC278C1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#B62C57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac278c;
/* rgb */ color: rgb(172, 39, 140);
/* oklch */ color: oklch(52.1% 0.196 339.8);
Tailwind
colors: {
  custom: {
    50: '#c970ae',
    500: '#ac278c',
    950: '#000000',
  },
}
SCSS
$custom: #ac278c;
$custom-light: #c970ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278c",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 314.436,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.19629,
    "h": 339.8
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#AC278C
secondary
#6AC580
accent
#E66942
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278C

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

Preview Lab → · Contrast checker → · Palette generator →

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