#AC3172#AC3172

#AC3172 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.170 H 352.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC3172
RGBrgb(172, 49, 114)
HSLhsl(328, 56%, 43%)
HSVhsv(328, 72%, 67%)
CMYKcmyk(0%, 71.5%, 33.7%, 32.5%)
CIE-LABlab(41.51, 55.11, -8.87)
CIE-LCHlch(41.51, 55.82, 350.86°)
OKLaboklab(51.82% 0.1686 -0.0228)
OKLCHoklch(51.82% 0.17 352.3)
XYZxyz(21.1500, 12.1846, 17.1544)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3172 #31AC6B
analogous
#A831AC #AC3172 #AC3134
triadic
#AC3172 #72AC31 #3172AC
tetradic
#AC3172 #ACA831 #31AC6B #3134AC
square
#AC3172 #ACA831 #31AC6B #3134AC
split-complementary
#AC3172 #34AC31 #31ACA8
monochromatic
#4D1633 #7C2352 #AC3172 #CC4E91 #DA7DAE

Accessibility & contrast

On white

6.11
#AC3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC3172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3172
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3172#FFFFFF#000000##FFFFFF
##AC31721.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#B9284D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac3172;
/* rgb */ color: rgb(172, 49, 114);
/* oklch */ color: oklch(51.8% 0.170 352.3);
Tailwind
colors: {
  custom: {
    50: '#c9739a',
    500: '#ac3172',
    950: '#000000',
  },
}
SCSS
$custom: #ac3172;
$custom-light: #c9739a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3172",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 328.293,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.17011,
    "h": 352.3
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#AC3172
secondary
#76C39A
accent
#DF9049
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC3172

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

Preview Lab → · Contrast checker → · Palette generator →

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