#AC318C#AC318C

#AC318C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.185 H 340.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC318C
RGBrgb(172, 49, 140)
HSLhsl(316, 56%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 71.5%, 18.6%, 32.5%)
CIE-LABlab(42.56, 58.48, -23.26)
CIE-LCHlch(42.56, 62.94, 338.31°)
OKLaboklab(52.93% 0.1743 -0.0627)
OKLCHoklch(52.93% 0.185 340.2)
XYZxyz(22.8458, 12.8629, 26.0855)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC318C #31AC51
analogous
#8E31AC #AC318C #AC314E
triadic
#AC318C #8CAC31 #318CAC
tetradic
#AC318C #AC8E31 #31AC51 #314EAC
square
#AC318C #AC8E31 #31AC51 #314EAC
split-complementary
#AC318C #4EAC31 #31AC8E
monochromatic
#4D163E #7C2365 #AC318C #CC4EAC #DA7DC2

Accessibility & contrast

On white

5.88
#AC318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC318C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC318C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC318C#FFFFFF#000000##FFFFFF
##AC318C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#606C89
Tritanopia (blue-blind)
#B6345A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac318c;
/* rgb */ color: rgb(172, 49, 140);
/* oklch */ color: oklch(52.9% 0.185 340.2);
Tailwind
colors: {
  custom: {
    50: '#c874ae',
    500: '#ac318c',
    950: '#000000',
  },
}
SCSS
$custom: #ac318c;
$custom-light: #c874ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac318c",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 315.61,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.18526,
    "h": 340.2
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#AC318C
secondary
#76C38A
accent
#DF7049
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC318C

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

Preview Lab → · Contrast checker → · Palette generator →

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