#AC477F#AC477F

#AC477F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.146 H 348.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AC477F
RGBrgb(172, 71, 127)
HSLhsl(327, 42%, 48%)
HSVhsv(327, 59%, 67%)
CMYKcmyk(0%, 58.7%, 26.2%, 32.5%)
CIE-LABlab(45.38, 47.47, -11.03)
CIE-LCHlch(45.38, 48.74, 346.91°)
OKLaboklab(54.83% 0.1434 -0.0289)
OKLCHoklch(54.83% 0.146 348.6)
XYZxyz(23.0981, 14.8116, 21.7170)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC477F #47AC74
analogous
#A747AC #AC477F #AC474C
triadic
#AC477F #7FAC47 #477FAC
tetradic
#AC477F #ACA747 #47AC74 #474CAC
square
#AC477F #ACA747 #47AC74 #474CAC
split-complementary
#AC477F #4CAC47 #47ACA7
monochromatic
#55233F #81355F #AC477F #C36D9D #D599BA

Accessibility & contrast

On white

5.30
#AC477F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AC477F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC477F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC477F#FFFFFF#000000##FFFFFF
##AC477F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536081
Deuteranopia (green-blind)
#6E727D
Tritanopia (blue-blind)
#B7445D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac477f;
/* rgb */ color: rgb(172, 71, 127);
/* oklch */ color: oklch(54.8% 0.146 348.6);
Tailwind
colors: {
  custom: {
    50: '#c87fa4',
    500: '#ac477f',
    950: '#000000',
  },
}
SCSS
$custom: #ac477f;
$custom-light: #c87fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac477f",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 326.733,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.14628,
    "h": 348.6
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#AC477F
secondary
#8EC1A5
accent
#D18D56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AC477F

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

Preview Lab → · Contrast checker → · Palette generator →

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