#AC337D#AC337D

#AC337D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.173 H 347.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC337D
RGBrgb(172, 51, 125)
HSLhsl(323, 54%, 44%)
HSVhsv(323, 70%, 67%)
CMYKcmyk(0%, 70.3%, 27.3%, 32.5%)
CIE-LABlab(42.19, 55.72, -14.64)
CIE-LCHlch(42.19, 57.61, 345.28°)
OKLaboklab(52.45% 0.1691 -0.0386)
OKLCHoklch(52.45% 0.173 347.1)
XYZxyz(21.8997, 12.6213, 20.6809)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC337D #33AC62
analogous
#9E33AC #AC337D #AC3340
triadic
#AC337D #7DAC33 #337DAC
tetradic
#AC337D #AC9E33 #33AC62 #3340AC
square
#AC337D #AC9E33 #33AC62 #3340AC
split-complementary
#AC337D #40AC33 #33AC9E
monochromatic
#4E1738 #7D255B #AC337D #CB519C #D980B7

Accessibility & contrast

On white

5.96
#AC337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC337D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC337D#FFFFFF#000000##FFFFFF
##AC337D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#B82F53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac337d;
/* rgb */ color: rgb(172, 51, 125);
/* oklch */ color: oklch(52.5% 0.173 347.1);
Tailwind
colors: {
  custom: {
    50: '#c975a2',
    500: '#ac337d',
    950: '#000000',
  },
}
SCSS
$custom: #ac337d;
$custom-light: #c975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac337d",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 323.306,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.17347,
    "h": 347.1
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#AC337D
secondary
#78C295
accent
#DE834A
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC337D

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

Preview Lab → · Contrast checker → · Palette generator →

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