#AC4A7B#AC4A7B

#AC4A7B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.139 H 351.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC4A7B
RGBrgb(172, 74, 123)
HSLhsl(330, 40%, 48%)
HSVhsv(330, 57%, 67%)
CMYKcmyk(0%, 57%, 28.5%, 32.5%)
CIE-LABlab(45.77, 45.49, -8.01)
CIE-LCHlch(45.77, 46.19, 350.02°)
OKLaboklab(55.08% 0.1378 -0.0207)
OKLCHoklch(55.08% 0.139 351.5)
XYZxyz(23.0381, 15.1005, 20.4364)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4A7B #4AAC7B
analogous
#AC4AAC #AC4A7B #AC4A4A
triadic
#AC4A7B #7BAC4A #4A7BAC
tetradic
#AC4A7B #ACAC4A #4AAC7B #4A4AAC
square
#AC4A7B #ACAC4A #4AAC7B #4A4AAC
split-complementary
#AC4A7B #4AAC4A #4AACAC
monochromatic
#56253E #81385C #AC4A7B #C2719A #D49CB8

Accessibility & contrast

On white

5.22
#AC4A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AC4A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4A7B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4A7B#FFFFFF#000000##FFFFFF
##AC4A7B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617D
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#B8465D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac4a7b;
/* rgb */ color: rgb(172, 74, 123);
/* oklch */ color: oklch(55.1% 0.139 351.5);
Tailwind
colors: {
  custom: {
    50: '#c881a1',
    500: '#ac4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac4a7b;
$custom-light: #c881a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4a7b",
  "rgb": {
    "r": 172,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 330,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.13937,
    "h": 351.5
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#AC4A7B
secondary
#91C1A9
accent
#D09458
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AC4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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