#AC335B#AC335B

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

Color values

HEX#AC335B
RGBrgb(172, 51, 91)
HSLhsl(340, 54%, 44%)
HSVhsv(340, 70%, 67%)
CMYKcmyk(0%, 70.3%, 47.1%, 32.5%)
CIE-LABlab(41.05, 51.92, 4.84)
CIE-LCHlch(41.05, 52.14, 5.32°)
OKLaboklab(51.24% 0.1586 0.0129)
OKLCHoklch(51.24% 0.159 4.7)
XYZxyz(20.0870, 11.8962, 11.1339)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC335B #33AC84
analogous
#AC3397 #AC335B #AC4733
triadic
#AC335B #5BAC33 #335BAC
tetradic
#AC335B #97AC33 #33AC84 #4733AC
square
#AC335B #97AC33 #33AC84 #4733AC
split-complementary
#AC335B #33AC47 #3397AC
monochromatic
#4E1729 #7D2542 #AC335B #CB5179 #D9809E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC335B#FFFFFF#000000##FFFFFF
##AC335B1.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)
#4E525C
Deuteranopia (green-blind)
#6E6A58
Tritanopia (blue-blind)
#BB1F43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac335b;
/* rgb */ color: rgb(172, 51, 91);
/* oklch */ color: oklch(51.2% 0.159 4.7);
Tailwind
colors: {
  custom: {
    50: '#ca7489',
    500: '#ac335b',
    950: '#000000',
  },
}
SCSS
$custom: #ac335b;
$custom-light: #ca7489;
$custom-dark: #000000;
JSON
{
  "hex": "#ac335b",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 340.165,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.15915,
    "h": 4.7
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#AC335B
secondary
#78C2AA
accent
#DEAD4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AC335B

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

Preview Lab → · Contrast checker → · Palette generator →

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