#AC337B#AC337B

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

Color values

HEX#AC337B
RGBrgb(172, 51, 123)
HSLhsl(324, 54%, 44%)
HSVhsv(324, 70%, 67%)
CMYKcmyk(0%, 70.3%, 28.5%, 32.5%)
CIE-LABlab(42.11, 55.47, -13.53)
CIE-LCHlch(42.11, 57.09, 346.29°)
OKLaboklab(52.37% 0.1686 -0.0356)
OKLCHoklch(52.37% 0.172 348.1)
XYZxyz(21.7732, 12.5707, 20.0148)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC337B #33AC64
analogous
#A033AC #AC337B #AC333E
triadic
#AC337B #7BAC33 #337BAC
tetradic
#AC337B #ACA033 #33AC64 #333EAC
square
#AC337B #ACA033 #33AC64 #333EAC
split-complementary
#AC337B #3EAC33 #33ACA0
monochromatic
#4E1737 #7D2559 #AC337B #CB519A #D980B5

Accessibility & contrast

On white

5.98
#AC337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC337B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC337B#FFFFFF#000000##FFFFFF
##AC337B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#676B78
Tritanopia (blue-blind)
#B82E52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac337b;
/* rgb */ color: rgb(172, 51, 123);
/* oklch */ color: oklch(52.4% 0.172 348.1);
Tailwind
colors: {
  custom: {
    50: '#c974a1',
    500: '#ac337b',
    950: '#000000',
  },
}
SCSS
$custom: #ac337b;
$custom-light: #c974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac337b",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 324.298,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.17233,
    "h": 348.1
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC337B

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

Preview Lab → · Contrast checker → · Palette generator →

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