#AC336F#AC336F

#AC336F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.166 H 354.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC336F
RGBrgb(172, 51, 111)
HSLhsl(330, 54%, 44%)
HSVhsv(330, 70%, 67%)
CMYKcmyk(0%, 70.3%, 35.5%, 32.5%)
CIE-LABlab(41.67, 54.01, -6.76)
CIE-LCHlch(41.67, 54.43, 352.87°)
OKLaboklab(51.9% 0.1654 -0.0172)
OKLCHoklch(51.9% 0.166 354.1)
XYZxyz(21.0676, 12.2885, 16.2983)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC336F #33AC70
analogous
#AC33AB #AC336F #AC3333
triadic
#AC336F #6FAC33 #336FAC
tetradic
#AC336F #ABAC33 #33AC70 #3333AC
square
#AC336F #ABAC33 #33AC70 #3333AC
split-complementary
#AC336F #33AC33 #33ABAC
monochromatic
#4E1732 #7D2551 #AC336F #CB518E #D980AC

Accessibility & contrast

On white

6.07
#AC336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC336F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC336F#FFFFFF#000000##FFFFFF
##AC336F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#6A6A6C
Tritanopia (blue-blind)
#B9294C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac336f;
/* rgb */ color: rgb(172, 51, 111);
/* oklch */ color: oklch(51.9% 0.166 354.1);
Tailwind
colors: {
  custom: {
    50: '#c97498',
    500: '#ac336f',
    950: '#000000',
  },
}
SCSS
$custom: #ac336f;
$custom-light: #c97498;
$custom-dark: #000000;
JSON
{
  "hex": "#ac336f",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 330.248,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.16624,
    "h": 354.1
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#AC336F
secondary
#78C29E
accent
#DE954A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AC336F

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

Preview Lab → · Contrast checker → · Palette generator →

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