#AC3178#AC3178

#AC3178 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.173 H 349.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC3178
RGBrgb(172, 49, 120)
HSLhsl(325, 56%, 43%)
HSVhsv(325, 72%, 67%)
CMYKcmyk(0%, 71.5%, 30.2%, 32.5%)
CIE-LABlab(41.73, 55.83, -12.25)
CIE-LCHlch(41.73, 57.16, 347.62°)
OKLaboklab(52.05% 0.1702 -0.032)
OKLCHoklch(52.05% 0.173 349.3)
XYZxyz(21.5028, 12.3257, 19.0124)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3178 #31AC65
analogous
#A231AC #AC3178 #AC313A
triadic
#AC3178 #78AC31 #3178AC
tetradic
#AC3178 #ACA231 #31AC65 #313AAC
square
#AC3178 #ACA231 #31AC65 #313AAC
split-complementary
#AC3178 #3AAC31 #31ACA2
monochromatic
#4D1636 #7C2357 #AC3178 #CC4E97 #DA7DB3

Accessibility & contrast

On white

6.06
#AC3178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC3178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3178
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3178#FFFFFF#000000##FFFFFF
##AC31781.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#B82B50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac3178;
/* rgb */ color: rgb(172, 49, 120);
/* oklch */ color: oklch(52.1% 0.173 349.3);
Tailwind
colors: {
  custom: {
    50: '#c9739f',
    500: '#ac3178',
    950: '#000000',
  },
}
SCSS
$custom: #ac3178;
$custom-light: #c9739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3178",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 325.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.17317,
    "h": 349.3
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#AC3178
secondary
#76C396
accent
#DF8849
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC3178

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

Preview Lab → · Contrast checker → · Palette generator →

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