#AC4872#AC4872

#AC4872 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.138 H 356.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AC4872
RGBrgb(172, 72, 114)
HSLhsl(335, 41%, 48%)
HSVhsv(335, 58%, 67%)
CMYKcmyk(0%, 58.1%, 33.7%, 32.5%)
CIE-LABlab(45.11, 45.28, -3.50)
CIE-LCHlch(45.11, 45.42, 355.58°)
OKLaboklab(54.49% 0.1379 -0.0086)
OKLCHoklch(54.49% 0.138 356.4)
XYZxyz(22.3690, 14.6226, 17.5607)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4872 #48AC82
analogous
#AC48A4 #AC4872 #AC5048
triadic
#AC4872 #72AC48 #4872AC
tetradic
#AC4872 #A4AC48 #48AC82 #5048AC
square
#AC4872 #A4AC48 #48AC82 #5048AC
split-complementary
#AC4872 #48AC50 #48A4AC
monochromatic
#562439 #813655 #AC4872 #C36F92 #D59AB2

Accessibility & contrast

On white

5.35
#AC4872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AC4872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4872
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4872#FFFFFF#000000##FFFFFF
##AC48721.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F73
Deuteranopia (green-blind)
#727270
Tritanopia (blue-blind)
#B94158
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac4872;
/* rgb */ color: rgb(172, 72, 114);
/* oklch */ color: oklch(54.5% 0.138 356.4);
Tailwind
colors: {
  custom: {
    50: '#c87f9a',
    500: '#ac4872',
    950: '#000000',
  },
}
SCSS
$custom: #ac4872;
$custom-light: #c87f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4872",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 334.8,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.13815,
    "h": 356.4
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#AC4872
secondary
#8FC1AC
accent
#D19E57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AC4872

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

Preview Lab → · Contrast checker → · Palette generator →

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