#AC407B#AC407B

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

Color values

HEX#AC407B
RGBrgb(172, 64, 123)
HSLhsl(327, 46%, 46%)
HSVhsv(327, 63%, 67%)
CMYKcmyk(0%, 62.8%, 28.5%, 32.5%)
CIE-LABlab(44.05, 50.13, -10.60)
CIE-LCHlch(44.05, 51.24, 348.06°)
OKLaboklab(53.79% 0.1521 -0.0276)
OKLCHoklch(53.79% 0.155 349.7)
XYZxyz(22.4228, 13.8698, 20.2313)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC407B #40AC71
analogous
#A740AC #AC407B #AC4045
triadic
#AC407B #7BAC40 #407BAC
tetradic
#AC407B #ACA740 #40AC71 #4045AC
square
#AC407B #ACA740 #40AC71 #4045AC
split-complementary
#AC407B #45AC40 #40ACA7
monochromatic
#531F3B #7F2F5B #AC407B #C56499 #D691B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC407B#FFFFFF#000000##FFFFFF
##AC407B1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac407b;
/* rgb */ color: rgb(172, 64, 123);
/* oklch */ color: oklch(53.8% 0.155 349.7);
Tailwind
colors: {
  custom: {
    50: '#c87ba1',
    500: '#ac407b',
    950: '#000000',
  },
}
SCSS
$custom: #ac407b;
$custom-light: #c87ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac407b",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 327.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.15459,
    "h": 349.7
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC407B

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

Preview Lab → · Contrast checker → · Palette generator →

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