#AC397C#AC397C

#AC397C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.0% C 0.165 H 348.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC397C
RGBrgb(172, 57, 124)
HSLhsl(325, 50%, 45%)
HSVhsv(325, 67%, 67%)
CMYKcmyk(0%, 66.9%, 27.9%, 32.5%)
CIE-LABlab(43.00, 53.24, -12.80)
CIE-LCHlch(43.00, 54.76, 346.48°)
OKLaboklab(53.03% 0.1616 -0.0336)
OKLCHoklch(53.03% 0.165 348.2)
XYZxyz(22.1154, 13.1545, 20.4393)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC397C #39AC69
analogous
#A239AC #AC397C #AC3943
triadic
#AC397C #7CAC39 #397CAC
tetradic
#AC397C #ACA239 #39AC69 #3943AC
square
#AC397C #ACA239 #39AC69 #3943AC
split-complementary
#AC397C #43AC39 #39ACA2
monochromatic
#501B3A #7E2A5B #AC397C #C85A9A #D888B6

Accessibility & contrast

On white

5.78
#AC397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC397C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC397C#FFFFFF#000000##FFFFFF
##AC397C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#B83555
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac397c;
/* rgb */ color: rgb(172, 57, 124);
/* oklch */ color: oklch(53.0% 0.165 348.2);
Tailwind
colors: {
  custom: {
    50: '#c877a2',
    500: '#ac397c',
    950: '#000000',
  },
}
SCSS
$custom: #ac397c;
$custom-light: #c877a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac397c",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 325.043,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.16504,
    "h": 348.2
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#AC397C
secondary
#7FC29B
accent
#DA884E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC397C

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

Preview Lab → · Contrast checker → · Palette generator →

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