#AC387C#AC387C

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

Color values

HEX#AC387C
RGBrgb(172, 56, 124)
HSLhsl(325, 51%, 45%)
HSVhsv(325, 67%, 67%)
CMYKcmyk(0%, 67.4%, 27.9%, 32.5%)
CIE-LABlab(42.85, 53.65, -13.02)
CIE-LCHlch(42.85, 55.21, 346.36°)
OKLaboklab(52.92% 0.1628 -0.0342)
OKLCHoklch(52.92% 0.166 348.1)
XYZxyz(22.0665, 13.0566, 20.4229)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC387C #38AC68
analogous
#A238AC #AC387C #AC3842
triadic
#AC387C #7CAC38 #387CAC
tetradic
#AC387C #ACA238 #38AC68 #3842AC
square
#AC387C #ACA238 #38AC68 #3842AC
split-complementary
#AC387C #42AC38 #38ACA2
monochromatic
#501A39 #7E295B #AC387C #C9589A #D887B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC387C#FFFFFF#000000##FFFFFF
##AC387C1.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)
#47587E
Deuteranopia (green-blind)
#686D79
Tritanopia (blue-blind)
#B83455
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac387c;
/* rgb */ color: rgb(172, 56, 124);
/* oklch */ color: oklch(52.9% 0.166 348.1);
Tailwind
colors: {
  custom: {
    50: '#c877a2',
    500: '#ac387c',
    950: '#000000',
  },
}
SCSS
$custom: #ac387c;
$custom-light: #c877a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac387c",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 324.828,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.1664,
    "h": 348.1
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#AC387C
secondary
#7EC29A
accent
#DA884D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC387C

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

Preview Lab → · Contrast checker → · Palette generator →

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