#AC477C#AC477C

#AC477C is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.145 H 350.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AC477C
RGBrgb(172, 71, 124)
HSLhsl(329, 42%, 48%)
HSVhsv(329, 59%, 67%)
CMYKcmyk(0%, 58.7%, 27.9%, 32.5%)
CIE-LABlab(45.27, 47.06, -9.37)
CIE-LCHlch(45.27, 47.99, 348.74°)
OKLaboklab(54.71% 0.1425 -0.0244)
OKLCHoklch(54.71% 0.145 350.3)
XYZxyz(22.9055, 14.7346, 20.7026)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC477C #47AC77
analogous
#AA47AC #AC477C #AC4749
triadic
#AC477C #7CAC47 #477CAC
tetradic
#AC477C #ACAA47 #47AC77 #4749AC
square
#AC477C #ACAA47 #47AC77 #4749AC
split-complementary
#AC477C #49AC47 #47ACAA
monochromatic
#55233E #81355D #AC477C #C36D9A #D599B8

Accessibility & contrast

On white

5.32
#AC477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AC477C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC477C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC477C#FFFFFF#000000##FFFFFF
##AC477C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#6F727A
Tritanopia (blue-blind)
#B8435C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac477c;
/* rgb */ color: rgb(172, 71, 124);
/* oklch */ color: oklch(54.7% 0.145 350.3);
Tailwind
colors: {
  custom: {
    50: '#c87fa2',
    500: '#ac477c',
    950: '#000000',
  },
}
SCSS
$custom: #ac477c;
$custom-light: #c87fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac477c",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 328.515,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.14459,
    "h": 350.3
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#AC477C
secondary
#8EC1A6
accent
#D19156
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AC477C

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

Preview Lab → · Contrast checker → · Palette generator →

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