#AF328C#AF328C

#AF328C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.186 H 341.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF328C
RGBrgb(175, 50, 140)
HSLhsl(317, 56%, 44%)
HSVhsv(317, 71%, 69%)
CMYKcmyk(0%, 71.4%, 20%, 31.4%)
CIE-LABlab(43.20, 58.89, -22.22)
CIE-LCHlch(43.20, 62.95, 339.33°)
OKLaboklab(53.49% 0.1762 -0.0597)
OKLCHoklch(53.49% 0.186 341.3)
XYZxyz(23.5541, 13.2909, 26.1308)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF328C #32AF55
analogous
#9432AF #AF328C #AF324E
triadic
#AF328C #8CAF32 #328CAF
tetradic
#AF328C #AF9432 #32AF55 #324EAF
square
#AF328C #AF9432 #32AF55 #324EAF
split-complementary
#AF328C #4EAF32 #32AF94
monochromatic
#501740 #7F2466 #AF328C #CD51AA #DB81C2

Accessibility & contrast

On white

5.74
#AF328C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF328C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF328C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF328C#FFFFFF#000000##FFFFFF
##AF328C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#BA345B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af328c;
/* rgb */ color: rgb(175, 50, 140);
/* oklch */ color: oklch(53.5% 0.186 341.3);
Tailwind
colors: {
  custom: {
    50: '#cb75ad',
    500: '#af328c',
    950: '#000000',
  },
}
SCSS
$custom: #af328c;
$custom-light: #cb75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af328c",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 316.8,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53492,
    "c": 0.18604,
    "h": 341.3
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#AF328C
secondary
#79C48E
accent
#DF7349
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF328C

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

Preview Lab → · Contrast checker → · Palette generator →

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