#AC3791#AC3791

#AC3791 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.181 H 338.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AC3791
RGBrgb(172, 55, 145)
HSLhsl(314, 52%, 45%)
HSVhsv(314, 68%, 67%)
CMYKcmyk(0%, 68%, 15.7%, 32.5%)
CIE-LABlab(43.58, 56.97, -24.70)
CIE-LCHlch(43.58, 62.09, 336.56°)
OKLaboklab(53.75% 0.1684 -0.0669)
OKLCHoklch(53.75% 0.181 338.3)
XYZxyz(23.4907, 13.5495, 28.1607)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3791 #37AC52
analogous
#8D37AC #AC3791 #AC3757
triadic
#AC3791 #91AC37 #3791AC
tetradic
#AC3791 #AC8D37 #37AC52 #3757AC
square
#AC3791 #AC8D37 #37AC52 #3757AC
split-complementary
#AC3791 #57AC37 #37AC8D
monochromatic
#4F1943 #7E286A #AC3791 #C957AF #D885C5

Accessibility & contrast

On white

5.66
#AC3791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC3791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3791
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3791#FFFFFF#000000##FFFFFF
##AC37911.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B94
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#B53C5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac3791;
/* rgb */ color: rgb(172, 55, 145);
/* oklch */ color: oklch(53.7% 0.181 338.3);
Tailwind
colors: {
  custom: {
    50: '#c877b1',
    500: '#ac3791',
    950: '#000000',
  },
}
SCSS
$custom: #ac3791;
$custom-light: #c877b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3791",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 313.846,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.18115,
    "h": 338.3
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#AC3791
secondary
#7DC28D
accent
#DB6E4D
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC3791

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

Preview Lab → · Contrast checker → · Palette generator →

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