#AC336B#AC336B

#AC336B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.164 H 356.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC336B
RGBrgb(172, 51, 107)
HSLhsl(332, 54%, 44%)
HSVhsv(332, 70%, 67%)
CMYKcmyk(0%, 70.3%, 37.8%, 32.5%)
CIE-LABlab(41.54, 53.56, -4.47)
CIE-LCHlch(41.54, 53.75, 355.23°)
OKLaboklab(51.76% 0.1641 -0.0111)
OKLCHoklch(51.76% 0.164 356.1)
XYZxyz(20.8523, 12.2023, 15.1642)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC336B #33AC74
analogous
#AC33A7 #AC336B #AC3733
triadic
#AC336B #6BAC33 #336BAC
tetradic
#AC336B #A7AC33 #33AC74 #3733AC
square
#AC336B #A7AC33 #33AC74 #3733AC
split-complementary
#AC336B #33AC37 #33A7AC
monochromatic
#4E1730 #7D254E #AC336B #CB518A #D980A9

Accessibility & contrast

On white

6.10
#AC336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC336B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC336B#FFFFFF#000000##FFFFFF
##AC336B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BA274B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac336b;
/* rgb */ color: rgb(172, 51, 107);
/* oklch */ color: oklch(51.8% 0.164 356.1);
Tailwind
colors: {
  custom: {
    50: '#c97495',
    500: '#ac336b',
    950: '#000000',
  },
}
SCSS
$custom: #ac336b;
$custom-light: #c97495;
$custom-dark: #000000;
JSON
{
  "hex": "#ac336b",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 332.231,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.16449,
    "h": 356.1
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#AC336B
secondary
#78C2A0
accent
#DE994A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AC336B

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

Preview Lab → · Contrast checker → · Palette generator →

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