#AC407C#AC407C

#AC407C is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.155 H 349.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC407C
RGBrgb(172, 64, 124)
HSLhsl(327, 46%, 46%)
HSVhsv(327, 63%, 67%)
CMYKcmyk(0%, 62.8%, 27.9%, 32.5%)
CIE-LABlab(44.08, 50.26, -11.16)
CIE-LCHlch(44.08, 51.49, 347.49°)
OKLaboklab(53.83% 0.1524 -0.0292)
OKLCHoklch(53.83% 0.155 349.2)
XYZxyz(22.4857, 13.8949, 20.5627)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC407C #40AC70
analogous
#A640AC #AC407C #AC4046
triadic
#AC407C #7CAC40 #407CAC
tetradic
#AC407C #ACA640 #40AC70 #4046AC
square
#AC407C #ACA640 #40AC70 #4046AC
split-complementary
#AC407C #46AC40 #40ACA6
monochromatic
#531F3C #7F2F5C #AC407C #C5649A #D691B7

Accessibility & contrast

On white

5.56
#AC407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC407C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC407C#FFFFFF#000000##FFFFFF
##AC407C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#B83C58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac407c;
/* rgb */ color: rgb(172, 64, 124);
/* oklch */ color: oklch(53.8% 0.155 349.2);
Tailwind
colors: {
  custom: {
    50: '#c87ba2',
    500: '#ac407c',
    950: '#000000',
  },
}
SCSS
$custom: #ac407c;
$custom-light: #c87ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac407c",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 326.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.15515,
    "h": 349.2
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#AC407C
secondary
#87C1A1
accent
#D58D52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AC407C

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

Preview Lab → · Contrast checker → · Palette generator →

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