#AC407A#AC407A

#AC407A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.154 H 350.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC407A
RGBrgb(172, 64, 122)
HSLhsl(328, 46%, 46%)
HSVhsv(328, 63%, 67%)
CMYKcmyk(0%, 62.8%, 29.1%, 32.5%)
CIE-LABlab(44.01, 50.00, -10.04)
CIE-LCHlch(44.01, 51.00, 348.65°)
OKLaboklab(53.76% 0.1518 -0.0261)
OKLCHoklch(53.76% 0.154 350.2)
XYZxyz(22.3605, 13.8449, 19.9033)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC407A #40AC72
analogous
#A840AC #AC407A #AC4044
triadic
#AC407A #7AAC40 #407AAC
tetradic
#AC407A #ACA840 #40AC72 #4044AC
square
#AC407A #ACA840 #40AC72 #4044AC
split-complementary
#AC407A #44AC40 #40ACA8
monochromatic
#531F3B #7F2F5A #AC407A #C56498 #D691B6

Accessibility & contrast

On white

5.57
#AC407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC407A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC407A#FFFFFF#000000##FFFFFF
##AC407A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#B83B58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac407a;
/* rgb */ color: rgb(172, 64, 122);
/* oklch */ color: oklch(53.8% 0.154 350.2);
Tailwind
colors: {
  custom: {
    50: '#c87ba0',
    500: '#ac407a',
    950: '#000000',
  },
}
SCSS
$custom: #ac407a;
$custom-light: #c87ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac407a",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 327.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53756,
    "c": 0.15405,
    "h": 350.2
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#AC407A
secondary
#87C1A2
accent
#D58F52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AC407A

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

Preview Lab → · Contrast checker → · Palette generator →

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