#AC387D#AC387D

#AC387D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.167 H 347.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC387D
RGBrgb(172, 56, 125)
HSLhsl(324, 51%, 45%)
HSVhsv(324, 67%, 67%)
CMYKcmyk(0%, 67.4%, 27.3%, 32.5%)
CIE-LABlab(42.89, 53.78, -13.58)
CIE-LCHlch(42.89, 55.47, 345.83°)
OKLaboklab(52.97% 0.1631 -0.0357)
OKLCHoklch(52.97% 0.167 347.6)
XYZxyz(22.1301, 13.0820, 20.7577)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC387D #38AC67
analogous
#A138AC #AC387D #AC3843
triadic
#AC387D #7DAC38 #387DAC
tetradic
#AC387D #ACA138 #38AC67 #3843AC
square
#AC387D #ACA138 #38AC67 #3843AC
split-complementary
#AC387D #43AC38 #38ACA1
monochromatic
#501A3A #7E295B #AC387D #C9589B #D887B7

Accessibility & contrast

On white

5.81
#AC387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC387D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC387D#FFFFFF#000000##FFFFFF
##AC387D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587F
Deuteranopia (green-blind)
#686D7A
Tritanopia (blue-blind)
#B83455
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac387d;
/* rgb */ color: rgb(172, 56, 125);
/* oklch */ color: oklch(53.0% 0.167 347.6);
Tailwind
colors: {
  custom: {
    50: '#c877a2',
    500: '#ac387d',
    950: '#000000',
  },
}
SCSS
$custom: #ac387d;
$custom-light: #c877a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac387d",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 324.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.16696,
    "h": 347.6
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#AC387D
secondary
#7EC299
accent
#DA874D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC387D

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

Preview Lab → · Contrast checker → · Palette generator →

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