#AC548B#AC548B

#AC548B is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.133 H 343.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AC548B
RGBrgb(172, 84, 139)
HSLhsl(323, 35%, 50%)
HSVhsv(323, 51%, 67%)
CMYKcmyk(0%, 51.2%, 19.2%, 32.5%)
CIE-LABlab(48.23, 42.83, -13.95)
CIE-LCHlch(48.23, 45.05, 341.96°)
OKLaboklab(57.1% 0.1274 -0.037)
OKLCHoklch(57.1% 0.133 343.8)
XYZxyz(24.8443, 16.9773, 26.3895)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC548B #54AC75
analogous
#A154AC #AC548B #AC545F
triadic
#AC548B #8BAC54 #548BAC
tetradic
#AC548B #ACA154 #54AC75 #545FAC
square
#AC548B #ACA154 #54AC75 #545FAC
split-complementary
#AC548B #5FAC54 #54ACA1
monochromatic
#5A2C49 #83406A #AC548B #C07DA7 #D4A6C3

Accessibility & contrast

On white

4.78
#AC548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AC548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC548B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC548B#FFFFFF#000000##FFFFFF
##AC548B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698D
Deuteranopia (green-blind)
#727889
Tritanopia (blue-blind)
#B65469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac548b;
/* rgb */ color: rgb(172, 84, 139);
/* oklch */ color: oklch(57.1% 0.133 343.8);
Tailwind
colors: {
  custom: {
    50: '#c787ad',
    500: '#ac548b',
    950: '#000000',
  },
}
SCSS
$custom: #ac548b;
$custom-light: #c787ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac548b",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 322.5,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.13271,
    "h": 343.8
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#AC548B
secondary
#9AC2A9
accent
#CB865D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AC548B

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

Preview Lab → · Contrast checker → · Palette generator →

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