#AC477D#AC477D

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

Color values

HEX#AC477D
RGBrgb(172, 71, 125)
HSLhsl(328, 42%, 48%)
HSVhsv(328, 59%, 67%)
CMYKcmyk(0%, 58.7%, 27.3%, 32.5%)
CIE-LABlab(45.30, 47.20, -9.93)
CIE-LCHlch(45.30, 48.23, 348.12°)
OKLaboklab(54.75% 0.1428 -0.0259)
OKLCHoklch(54.75% 0.145 349.7)
XYZxyz(22.9691, 14.7600, 21.0374)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC477D #47AC76
analogous
#A947AC #AC477D #AC474A
triadic
#AC477D #7DAC47 #477DAC
tetradic
#AC477D #ACA947 #47AC76 #474AAC
square
#AC477D #ACA947 #47AC76 #474AAC
split-complementary
#AC477D #4AAC47 #47ACA9
monochromatic
#55233E #81355E #AC477D #C36D9B #D599B9

Accessibility & contrast

On white

5.31
#AC477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC477D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC477D#FFFFFF#000000##FFFFFF
##AC477D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#B8435C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac477d;
/* rgb */ color: rgb(172, 71, 125);
/* oklch */ color: oklch(54.8% 0.145 349.7);
Tailwind
colors: {
  custom: {
    50: '#c87fa2',
    500: '#ac477d',
    950: '#000000',
  },
}
SCSS
$custom: #ac477d;
$custom-light: #c87fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac477d",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 327.921,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.14514,
    "h": 349.7
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#AC477D
secondary
#8EC1A6
accent
#D19056
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AC477D

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

Preview Lab → · Contrast checker → · Palette generator →

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