#AC397A#AC397A

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

Color values

HEX#AC397A
RGBrgb(172, 57, 122)
HSLhsl(326, 50%, 45%)
HSVhsv(326, 67%, 67%)
CMYKcmyk(0%, 66.9%, 29.1%, 32.5%)
CIE-LABlab(42.92, 52.98, -11.68)
CIE-LCHlch(42.92, 54.26, 347.56°)
OKLaboklab(52.95% 0.1611 -0.0306)
OKLCHoklch(52.95% 0.164 349.3)
XYZxyz(21.9902, 13.1044, 19.7799)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC397A #39AC6B
analogous
#A439AC #AC397A #AC3941
triadic
#AC397A #7AAC39 #397AAC
tetradic
#AC397A #ACA439 #39AC6B #3941AC
square
#AC397A #ACA439 #39AC6B #3941AC
split-complementary
#AC397A #41AC39 #39ACA4
monochromatic
#501B39 #7E2A59 #AC397A #C85A98 #D888B5

Accessibility & contrast

On white

5.80
#AC397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC397A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC397A#FFFFFF#000000##FFFFFF
##AC397A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587C
Deuteranopia (green-blind)
#696D77
Tritanopia (blue-blind)
#B83454
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac397a;
/* rgb */ color: rgb(172, 57, 122);
/* oklch */ color: oklch(53.0% 0.164 349.3);
Tailwind
colors: {
  custom: {
    50: '#c877a0',
    500: '#ac397a',
    950: '#000000',
  },
}
SCSS
$custom: #ac397a;
$custom-light: #c877a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac397a",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 326.087,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.16393,
    "h": 349.3
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#AC397A
secondary
#7FC29C
accent
#DA8B4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC397A

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

Preview Lab → · Contrast checker → · Palette generator →

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