#AC408C#AC408C

#AC408C is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.165 H 341.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AC408C
RGBrgb(172, 64, 140)
HSLhsl(318, 46%, 46%)
HSVhsv(318, 63%, 67%)
CMYKcmyk(0%, 62.8%, 18.6%, 32.5%)
CIE-LABlab(44.71, 52.51, -19.94)
CIE-LCHlch(44.71, 56.17, 339.21°)
OKLaboklab(54.5% 0.1563 -0.0535)
OKLCHoklch(54.5% 0.165 341.1)
XYZxyz(23.5808, 14.3330, 26.3305)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC408C #40AC60
analogous
#9640AC #AC408C #AC4056
triadic
#AC408C #8CAC40 #408CAC
tetradic
#AC408C #AC9640 #40AC60 #4056AC
square
#AC408C #AC9640 #40AC60 #4056AC
split-complementary
#AC408C #56AC40 #40AC96
monochromatic
#531F43 #7F2F68 #AC408C #C564A8 #D691C1

Accessibility & contrast

On white

5.43
#AC408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AC408C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC408C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC408C#FFFFFF#000000##FFFFFF
##AC408C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8E
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#B64260
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ac408c;
/* rgb */ color: rgb(172, 64, 140);
/* oklch */ color: oklch(54.5% 0.165 341.1);
Tailwind
colors: {
  custom: {
    50: '#c87cad',
    500: '#ac408c',
    950: '#000000',
  },
}
SCSS
$custom: #ac408c;
$custom-light: #c87cad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac408c",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 317.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.16518,
    "h": 341.1
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#AC408C
secondary
#87C198
accent
#D57952
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AC408C

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

Preview Lab → · Contrast checker → · Palette generator →

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