#AF328F#AF328F

#AF328F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.188 H 340.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF328F
RGBrgb(175, 50, 143)
HSLhsl(315, 56%, 44%)
HSVhsv(315, 71%, 69%)
CMYKcmyk(0%, 71.4%, 18.3%, 31.4%)
CIE-LABlab(43.33, 59.32, -23.84)
CIE-LCHlch(43.33, 63.93, 338.11°)
OKLaboklab(53.63% 0.1767 -0.0643)
OKLCHoklch(53.63% 0.188 340)
XYZxyz(23.7783, 13.3806, 27.3117)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF328F #32AF52
analogous
#9132AF #AF328F #AF3251
triadic
#AF328F #8FAF32 #328FAF
tetradic
#AF328F #AF9132 #32AF52 #3251AF
square
#AF328F #AF9132 #32AF52 #3251AF
split-complementary
#AF328F #51AF32 #32AF91
monochromatic
#501741 #7F2468 #AF328F #CD51AD #DB81C4

Accessibility & contrast

On white

5.71
#AF328F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF328F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF328F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF328F#FFFFFF#000000##FFFFFF
##AF328F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#B9365C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af328f;
/* rgb */ color: rgb(175, 50, 143);
/* oklch */ color: oklch(53.6% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#cb75b0',
    500: '#af328f',
    950: '#000000',
  },
}
SCSS
$custom: #af328f;
$custom-light: #cb75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af328f",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 315.36,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53632,
    "c": 0.188,
    "h": 340
  },
  "luminance": 0.13378
}

Semantic roles & 50–950 ramp

primary
#AF328F
secondary
#79C48C
accent
#DF6F49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF328F

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

Preview Lab → · Contrast checker → · Palette generator →

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