#AC3897#AC3897

#AC3897 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.184 H 335.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AC3897
RGBrgb(172, 56, 151)
HSLhsl(311, 51%, 45%)
HSVhsv(311, 67%, 67%)
CMYKcmyk(0%, 67.4%, 12.2%, 32.5%)
CIE-LABlab(44.00, 57.49, -27.67)
CIE-LCHlch(44.00, 63.80, 334.29°)
OKLaboklab(54.14% 0.1681 -0.0753)
OKLCHoklch(54.14% 0.184 335.9)
XYZxyz(24.0136, 13.8354, 30.6779)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3897 #38AC4D
analogous
#8738AC #AC3897 #AC385D
triadic
#AC3897 #97AC38 #3897AC
tetradic
#AC3897 #AC8738 #38AC4D #385DAC
square
#AC3897 #AC8738 #38AC4D #385DAC
split-complementary
#AC3897 #5DAC38 #38AC87
monochromatic
#501A46 #7E296E #AC3897 #C958B4 #D887C9

Accessibility & contrast

On white

5.58
#AC3897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC3897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3897
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3897#FFFFFF#000000##FFFFFF
##AC38971.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#B53F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac3897;
/* rgb */ color: rgb(172, 56, 151);
/* oklch */ color: oklch(54.1% 0.184 335.9);
Tailwind
colors: {
  custom: {
    50: '#c878b6',
    500: '#ac3897',
    950: '#000000',
  },
}
SCSS
$custom: #ac3897;
$custom-light: #c878b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3897",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 310.862,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.18416,
    "h": 335.9
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#AC3897
secondary
#7EC28A
accent
#DA674D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC3897

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

Preview Lab → · Contrast checker → · Palette generator →

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