#AC318A#AC318A

#AC318A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.184 H 341.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC318A
RGBrgb(172, 49, 138)
HSLhsl(317, 56%, 43%)
HSVhsv(317, 72%, 67%)
CMYKcmyk(0%, 71.5%, 19.8%, 32.5%)
CIE-LABlab(42.47, 58.20, -22.18)
CIE-LCHlch(42.47, 62.28, 339.14°)
OKLaboklab(52.83% 0.174 -0.0597)
OKLCHoklch(52.83% 0.184 341.1)
XYZxyz(22.6997, 12.8045, 25.3159)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC318A #31AC53
analogous
#9031AC #AC318A #AC314D
triadic
#AC318A #8AAC31 #318AAC
tetradic
#AC318A #AC9031 #31AC53 #314DAC
square
#AC318A #AC9031 #31AC53 #314DAC
split-complementary
#AC318A #4DAC31 #31AC90
monochromatic
#4D163E #7C2364 #AC318A #CC4EA9 #DA7DC0

Accessibility & contrast

On white

5.90
#AC318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC318A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC318A#FFFFFF#000000##FFFFFF
##AC318A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#B63459
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac318a;
/* rgb */ color: rgb(172, 49, 138);
/* oklch */ color: oklch(52.8% 0.184 341.1);
Tailwind
colors: {
  custom: {
    50: '#c874ac',
    500: '#ac318a',
    950: '#000000',
  },
}
SCSS
$custom: #ac318a;
$custom-light: #c874ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac318a",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 316.585,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.18393,
    "h": 341.1
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#AC318A
secondary
#76C38B
accent
#DF7249
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC318A

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

Preview Lab → · Contrast checker → · Palette generator →

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