#AC335A#AC335A

#AC335A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.2% C 0.159 H 5.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AC335A
RGBrgb(172, 51, 90)
HSLhsl(341, 54%, 44%)
HSVhsv(341, 70%, 67%)
CMYKcmyk(0%, 70.3%, 47.7%, 32.5%)
CIE-LABlab(41.02, 51.82, 5.43)
CIE-LCHlch(41.02, 52.11, 5.98°)
OKLaboklab(51.21% 0.1583 0.0144)
OKLCHoklch(51.21% 0.159 5.2)
XYZxyz(20.0442, 11.8791, 10.9083)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC335A #33AC85
analogous
#AC3396 #AC335A #AC4833
triadic
#AC335A #5AAC33 #335AAC
tetradic
#AC335A #96AC33 #33AC85 #4833AC
square
#AC335A #96AC33 #33AC85 #4833AC
split-complementary
#AC335A #33AC48 #3396AC
monochromatic
#4E1729 #7D2541 #AC335A #CB5178 #D9809D

Accessibility & contrast

On white

6.22
#AC335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC335A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC335A#FFFFFF#000000##FFFFFF
##AC335A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BB1F43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac335a;
/* rgb */ color: rgb(172, 51, 90);
/* oklch */ color: oklch(51.2% 0.159 5.2);
Tailwind
colors: {
  custom: {
    50: '#ca7488',
    500: '#ac335a',
    950: '#000000',
  },
}
SCSS
$custom: #ac335a;
$custom-light: #ca7488;
$custom-dark: #000000;
JSON
{
  "hex": "#ac335a",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 340.661,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.1589,
    "h": 5.2
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#AC335A
secondary
#78C2AB
accent
#DEAE4A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AC335A

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

Preview Lab → · Contrast checker → · Palette generator →

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