#AF328B#AF328B

#AF328B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.185 H 341.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF328B
RGBrgb(175, 50, 139)
HSLhsl(317, 56%, 44%)
HSVhsv(317, 71%, 69%)
CMYKcmyk(0%, 71.4%, 20.6%, 31.4%)
CIE-LABlab(43.15, 58.76, -21.68)
CIE-LCHlch(43.15, 62.63, 339.75°)
OKLaboklab(53.45% 0.176 -0.0582)
OKLCHoklch(53.45% 0.185 341.7)
XYZxyz(23.4807, 13.2616, 25.7442)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF328B #32AF56
analogous
#9532AF #AF328B #AF324D
triadic
#AF328B #8BAF32 #328BAF
tetradic
#AF328B #AF9532 #32AF56 #324DAF
square
#AF328B #AF9532 #32AF56 #324DAF
split-complementary
#AF328B #4DAF32 #32AF95
monochromatic
#50173F #7F2465 #AF328B #CD51A9 #DB81C1

Accessibility & contrast

On white

5.75
#AF328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF328B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF328B#FFFFFF#000000##FFFFFF
##AF328B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BA345A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af328b;
/* rgb */ color: rgb(175, 50, 139);
/* oklch */ color: oklch(53.4% 0.185 341.7);
Tailwind
colors: {
  custom: {
    50: '#cb75ad',
    500: '#af328b',
    950: '#000000',
  },
}
SCSS
$custom: #af328b;
$custom-light: #cb75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af328b",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 317.28,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.18538,
    "h": 341.7
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF328B

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

Preview Lab → · Contrast checker → · Palette generator →

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