#AF329A#AF329A

#AF329A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.2% C 0.196 H 335.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF329A
RGBrgb(175, 50, 154)
HSLhsl(310, 56%, 44%)
HSVhsv(310, 71%, 69%)
CMYKcmyk(0%, 71.4%, 12%, 31.4%)
CIE-LABlab(43.84, 60.92, -29.68)
CIE-LCHlch(43.84, 67.77, 334.03°)
OKLaboklab(54.17% 0.1781 -0.0809)
OKLCHoklch(54.17% 0.196 335.6)
XYZxyz(24.6529, 13.7304, 31.9174)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF329A #32AF47
analogous
#8632AF #AF329A #AF325C
triadic
#AF329A #9AAF32 #329AAF
tetradic
#AF329A #AF8632 #32AF47 #325CAF
square
#AF329A #AF8632 #32AF47 #325CAF
split-complementary
#AF329A #5CAF32 #32AF86
monochromatic
#501746 #7F2470 #AF329A #CD51B8 #DB81CC

Accessibility & contrast

On white

5.61
#AF329A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF329A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF329A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF329A#FFFFFF#000000##FFFFFF
##AF329A1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#B83B62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af329a;
/* rgb */ color: rgb(175, 50, 154);
/* oklch */ color: oklch(54.2% 0.196 335.6);
Tailwind
colors: {
  custom: {
    50: '#ca75b8',
    500: '#af329a',
    950: '#000000',
  },
}
SCSS
$custom: #af329a;
$custom-light: #ca75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af329a",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 310.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.19562,
    "h": 335.6
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#AF329A
secondary
#79C485
accent
#DF6249
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF329A

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

Preview Lab → · Contrast checker → · Palette generator →

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