#AC478D#AC478D

#AC478D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.155 H 341.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AC478D
RGBrgb(172, 71, 141)
HSLhsl(318, 42%, 48%)
HSVhsv(318, 59%, 67%)
CMYKcmyk(0%, 58.7%, 18%, 32.5%)
CIE-LABlab(45.91, 49.50, -18.69)
CIE-LCHlch(45.91, 52.91, 339.31°)
OKLaboklab(55.4% 0.147 -0.0501)
OKLCHoklch(55.4% 0.155 341.2)
XYZxyz(24.0747, 15.2023, 26.8605)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC478D #47AC66
analogous
#9947AC #AC478D #AC475A
triadic
#AC478D #8DAC47 #478DAC
tetradic
#AC478D #AC9947 #47AC66 #475AAC
square
#AC478D #AC9947 #47AC66 #475AAC
split-complementary
#AC478D #5AAC47 #47AC99
monochromatic
#552346 #813569 #AC478D #C36DA9 #D599C2

Accessibility & contrast

On white

5.20
#AC478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AC478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC478D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC478D#FFFFFF#000000##FFFFFF
##AC478D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#6A738A
Tritanopia (blue-blind)
#B64864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac478d;
/* rgb */ color: rgb(172, 71, 141);
/* oklch */ color: oklch(55.4% 0.155 341.2);
Tailwind
colors: {
  custom: {
    50: '#c77fae',
    500: '#ac478d',
    950: '#000000',
  },
}
SCSS
$custom: #ac478d;
$custom-light: #c77fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac478d",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 318.416,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.1553,
    "h": 341.2
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#AC478D
secondary
#8EC19E
accent
#D17C56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AC478D

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

Preview Lab → · Contrast checker → · Palette generator →

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