#AC337C#AC337C

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

Color values

HEX#AC337C
RGBrgb(172, 51, 124)
HSLhsl(324, 54%, 44%)
HSVhsv(324, 70%, 67%)
CMYKcmyk(0%, 70.3%, 27.9%, 32.5%)
CIE-LABlab(42.15, 55.59, -14.09)
CIE-LCHlch(42.15, 57.35, 345.78°)
OKLaboklab(52.41% 0.1689 -0.0371)
OKLCHoklch(52.41% 0.173 347.6)
XYZxyz(21.8362, 12.5959, 20.3462)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC337C #33AC63
analogous
#9F33AC #AC337C #AC333F
triadic
#AC337C #7CAC33 #337CAC
tetradic
#AC337C #AC9F33 #33AC63 #333FAC
square
#AC337C #AC9F33 #33AC63 #333FAC
split-complementary
#AC337C #3FAC33 #33AC9F
monochromatic
#4E1738 #7D255A #AC337C #CB519B #D980B6

Accessibility & contrast

On white

5.97
#AC337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC337C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC337C#FFFFFF#000000##FFFFFF
##AC337C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#B82F53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac337c;
/* rgb */ color: rgb(172, 51, 124);
/* oklch */ color: oklch(52.4% 0.173 347.6);
Tailwind
colors: {
  custom: {
    50: '#c975a2',
    500: '#ac337c',
    950: '#000000',
  },
}
SCSS
$custom: #ac337c;
$custom-light: #c975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac337c",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 323.802,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.1729,
    "h": 347.6
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#AC337C
secondary
#78C296
accent
#DE854A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC337C

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

Preview Lab → · Contrast checker → · Palette generator →

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