#AC477E#AC477E

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

Color values

HEX#AC477E
RGBrgb(172, 71, 126)
HSLhsl(327, 42%, 48%)
HSVhsv(327, 59%, 67%)
CMYKcmyk(0%, 58.7%, 26.7%, 32.5%)
CIE-LABlab(45.34, 47.33, -10.48)
CIE-LCHlch(45.34, 48.48, 347.52°)
OKLaboklab(54.79% 0.1431 -0.0274)
OKLCHoklch(54.79% 0.146 349.2)
XYZxyz(23.0333, 14.7857, 21.3755)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC477E #47AC75
analogous
#A847AC #AC477E #AC474B
triadic
#AC477E #7EAC47 #477EAC
tetradic
#AC477E #ACA847 #47AC75 #474BAC
square
#AC477E #ACA847 #47AC75 #474BAC
split-complementary
#AC477E #4BAC47 #47ACA8
monochromatic
#55233F #81355E #AC477E #C36D9C #D599B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC477E#FFFFFF#000000##FFFFFF
##AC477E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac477e;
/* rgb */ color: rgb(172, 71, 126);
/* oklch */ color: oklch(54.8% 0.146 349.2);
Tailwind
colors: {
  custom: {
    50: '#c87fa3',
    500: '#ac477e',
    950: '#000000',
  },
}
SCSS
$custom: #ac477e;
$custom-light: #c87fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac477e",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 327.327,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.14571,
    "h": 349.2
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#AC477E
secondary
#8EC1A5
accent
#D18E56
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AC477E

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

Preview Lab → · Contrast checker → · Palette generator →

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