#AC388D#AC388D

#AC388D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.177 H 340.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC388D
RGBrgb(172, 56, 141)
HSLhsl(316, 51%, 45%)
HSVhsv(316, 67%, 67%)
CMYKcmyk(0%, 67.4%, 18%, 32.5%)
CIE-LABlab(43.54, 55.99, -22.34)
CIE-LCHlch(43.54, 60.28, 338.25°)
OKLaboklab(53.66% 0.1665 -0.0602)
OKLCHoklch(53.66% 0.177 340.1)
XYZxyz(23.2357, 13.5242, 26.5808)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC388D #38AC57
analogous
#9138AC #AC388D #AC3853
triadic
#AC388D #8DAC38 #388DAC
tetradic
#AC388D #AC9138 #38AC57 #3853AC
square
#AC388D #AC9138 #38AC57 #3853AC
split-complementary
#AC388D #53AC38 #38AC91
monochromatic
#501A41 #7E2967 #AC388D #C958AB #D887C2

Accessibility & contrast

On white

5.67
#AC388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC388D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC388D#FFFFFF#000000##FFFFFF
##AC388D1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#B63B5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac388d;
/* rgb */ color: rgb(172, 56, 141);
/* oklch */ color: oklch(53.7% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#c877ae',
    500: '#ac388d',
    950: '#000000',
  },
}
SCSS
$custom: #ac388d;
$custom-light: #c877ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac388d",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 316.034,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.17706,
    "h": 340.1
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#AC388D
secondary
#7EC290
accent
#DA734D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC388D

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

Preview Lab → · Contrast checker → · Palette generator →

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