#AC3387#AC3387

#AC3387 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 342.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC3387
RGBrgb(172, 51, 135)
HSLhsl(318, 54%, 44%)
HSVhsv(318, 70%, 67%)
CMYKcmyk(0%, 70.3%, 21.5%, 32.5%)
CIE-LABlab(42.60, 57.06, -20.15)
CIE-LCHlch(42.60, 60.51, 340.55°)
OKLaboklab(52.89% 0.1712 -0.054)
OKLCHoklch(52.89% 0.18 342.5)
XYZxyz(22.5710, 12.8898, 24.2163)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3387 #33AC58
analogous
#9433AC #AC3387 #AC334A
triadic
#AC3387 #87AC33 #3387AC
tetradic
#AC3387 #AC9433 #33AC58 #334AAC
square
#AC3387 #AC9433 #33AC58 #334AAC
split-complementary
#AC3387 #4AAC33 #33AC94
monochromatic
#4E173D #7D2562 #AC3387 #CB51A6 #D980BE

Accessibility & contrast

On white

5.87
#AC3387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC3387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3387
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3387#FFFFFF#000000##FFFFFF
##AC33871.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#B73458
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac3387;
/* rgb */ color: rgb(172, 51, 135);
/* oklch */ color: oklch(52.9% 0.180 342.5);
Tailwind
colors: {
  custom: {
    50: '#c875aa',
    500: '#ac3387',
    950: '#000000',
  },
}
SCSS
$custom: #ac3387;
$custom-light: #c875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3387",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 318.347,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.17954,
    "h": 342.5
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#AC3387
secondary
#78C28F
accent
#DE774A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC3387

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

Preview Lab → · Contrast checker → · Palette generator →

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