#AC3797#AC3797

#AC3797 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.185 H 335.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC3797
RGBrgb(172, 55, 151)
HSLhsl(311, 52%, 45%)
HSVhsv(311, 68%, 67%)
CMYKcmyk(0%, 68%, 12.2%, 32.5%)
CIE-LABlab(43.86, 57.88, -27.89)
CIE-LCHlch(43.86, 64.25, 334.27°)
OKLaboklab(54.04% 0.1692 -0.0759)
OKLCHoklch(54.04% 0.185 335.8)
XYZxyz(23.9657, 13.7394, 30.6619)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3797 #37AC4C
analogous
#8737AC #AC3797 #AC375D
triadic
#AC3797 #97AC37 #3797AC
tetradic
#AC3797 #AC8737 #37AC4C #375DAC
square
#AC3797 #AC8737 #37AC4C #375DAC
split-complementary
#AC3797 #5DAC37 #37AC87
monochromatic
#4F1946 #7E286E #AC3797 #C957B5 #D885C9

Accessibility & contrast

On white

5.60
#AC3797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AC3797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3797
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3797#FFFFFF#000000##FFFFFF
##AC37971.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#B53E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac3797;
/* rgb */ color: rgb(172, 55, 151);
/* oklch */ color: oklch(54.0% 0.185 335.8);
Tailwind
colors: {
  custom: {
    50: '#c877b6',
    500: '#ac3797',
    950: '#000000',
  },
}
SCSS
$custom: #ac3797;
$custom-light: #c877b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3797",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 310.769,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.18546,
    "h": 335.8
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#AC3797
secondary
#7DC289
accent
#DB664D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC3797

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

Preview Lab → · Contrast checker → · Palette generator →

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