#AC3173#AC3173

#AC3173 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.171 H 351.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC3173
RGBrgb(172, 49, 115)
HSLhsl(328, 56%, 43%)
HSVhsv(328, 72%, 67%)
CMYKcmyk(0%, 71.5%, 33.1%, 32.5%)
CIE-LABlab(41.54, 55.23, -9.43)
CIE-LCHlch(41.54, 56.03, 350.31°)
OKLaboklab(51.86% 0.1689 -0.0244)
OKLCHoklch(51.86% 0.171 351.8)
XYZxyz(21.2073, 12.2075, 17.4558)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3173 #31AC6A
analogous
#A731AC #AC3173 #AC3135
triadic
#AC3173 #73AC31 #3173AC
tetradic
#AC3173 #ACA731 #31AC6A #3135AC
square
#AC3173 #ACA731 #31AC6A #3135AC
split-complementary
#AC3173 #35AC31 #31ACA7
monochromatic
#4D1633 #7C2353 #AC3173 #CC4E92 #DA7DAF

Accessibility & contrast

On white

6.10
#AC3173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC3173
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3173#FFFFFF#000000##FFFFFF
##AC31731.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#B9284E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac3173;
/* rgb */ color: rgb(172, 49, 115);
/* oklch */ color: oklch(51.9% 0.171 351.8);
Tailwind
colors: {
  custom: {
    50: '#c9739b',
    500: '#ac3173',
    950: '#000000',
  },
}
SCSS
$custom: #ac3173;
$custom-light: #c9739b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3173",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 327.805,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.1706,
    "h": 351.8
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC3173

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

Preview Lab → · Contrast checker → · Palette generator →

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