#AC337F#AC337F

#AC337F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.175 H 346.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC337F
RGBrgb(172, 51, 127)
HSLhsl(322, 54%, 44%)
HSVhsv(322, 70%, 67%)
CMYKcmyk(0%, 70.3%, 26.2%, 32.5%)
CIE-LABlab(42.27, 55.98, -15.75)
CIE-LCHlch(42.27, 58.16, 344.28°)
OKLaboklab(52.54% 0.1696 -0.0417)
OKLCHoklch(52.54% 0.175 346.2)
XYZxyz(22.0288, 12.6729, 21.3606)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC337F #33AC60
analogous
#9C33AC #AC337F #AC3342
triadic
#AC337F #7FAC33 #337FAC
tetradic
#AC337F #AC9C33 #33AC60 #3342AC
square
#AC337F #AC9C33 #33AC60 #3342AC
split-complementary
#AC337F #42AC33 #33AC9C
monochromatic
#4E1739 #7D255C #AC337F #CB519E #D980B8

Accessibility & contrast

On white

5.94
#AC337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC337F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC337F#FFFFFF#000000##FFFFFF
##AC337F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425781
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#B83054
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac337f;
/* rgb */ color: rgb(172, 51, 127);
/* oklch */ color: oklch(52.5% 0.175 346.2);
Tailwind
colors: {
  custom: {
    50: '#c975a4',
    500: '#ac337f',
    950: '#000000',
  },
}
SCSS
$custom: #ac337f;
$custom-light: #c975a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac337f",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 322.314,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.17462,
    "h": 346.2
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#AC337F
secondary
#78C294
accent
#DE814A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC337F

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

Preview Lab → · Contrast checker → · Palette generator →

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