#AC387B#AC387B

#AC387B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.166 H 348.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AC387B
RGBrgb(172, 56, 123)
HSLhsl(325, 51%, 45%)
HSVhsv(325, 67%, 67%)
CMYKcmyk(0%, 67.4%, 28.5%, 32.5%)
CIE-LABlab(42.81, 53.52, -12.47)
CIE-LCHlch(42.81, 54.95, 346.89°)
OKLaboklab(52.88% 0.1626 -0.0327)
OKLCHoklch(52.88% 0.166 348.6)
XYZxyz(22.0036, 13.0314, 20.0916)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC387B #38AC69
analogous
#A338AC #AC387B #AC3841
triadic
#AC387B #7BAC38 #387BAC
tetradic
#AC387B #ACA338 #38AC69 #3841AC
square
#AC387B #ACA338 #38AC69 #3841AC
split-complementary
#AC387B #41AC38 #38ACA3
monochromatic
#501A39 #7E295A #AC387B #C95899 #D887B6

Accessibility & contrast

On white

5.82
#AC387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC387B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC387B#FFFFFF#000000##FFFFFF
##AC387B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#B83354
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac387b;
/* rgb */ color: rgb(172, 56, 123);
/* oklch */ color: oklch(52.9% 0.166 348.6);
Tailwind
colors: {
  custom: {
    50: '#c877a1',
    500: '#ac387b',
    950: '#000000',
  },
}
SCSS
$custom: #ac387b;
$custom-light: #c877a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac387b",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 325.345,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.16583,
    "h": 348.6
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#AC387B
secondary
#7EC29B
accent
#DA894D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC387B

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

Preview Lab → · Contrast checker → · Palette generator →

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