#AC397F#AC397F

#AC397F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.167 H 346.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AC397F
RGBrgb(172, 57, 127)
HSLhsl(323, 50%, 45%)
HSVhsv(323, 67%, 67%)
CMYKcmyk(0%, 66.9%, 26.2%, 32.5%)
CIE-LABlab(43.11, 53.64, -14.47)
CIE-LCHlch(43.11, 55.55, 344.91°)
OKLaboklab(53.15% 0.1623 -0.0382)
OKLCHoklch(53.15% 0.167 346.8)
XYZxyz(22.3081, 13.2315, 21.4537)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC397F #39AC66
analogous
#9F39AC #AC397F #AC3946
triadic
#AC397F #7FAC39 #397FAC
tetradic
#AC397F #AC9F39 #39AC66 #3946AC
square
#AC397F #AC9F39 #39AC66 #3946AC
split-complementary
#AC397F #46AC39 #39AC9F
monochromatic
#501B3B #7E2A5D #AC397F #C85A9D #D888B8

Accessibility & contrast

On white

5.76
#AC397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC397F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC397F#FFFFFF#000000##FFFFFF
##AC397F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#B83657
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac397f;
/* rgb */ color: rgb(172, 57, 127);
/* oklch */ color: oklch(53.2% 0.167 346.8);
Tailwind
colors: {
  custom: {
    50: '#c878a4',
    500: '#ac397f',
    950: '#000000',
  },
}
SCSS
$custom: #ac397f;
$custom-light: #c878a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac397f",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 323.478,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.16677,
    "h": 346.8
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#AC397F
secondary
#7FC299
accent
#DA854E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC397F

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

Preview Lab → · Contrast checker → · Palette generator →

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