#AF328D#AF328D

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

Color values

HEX#AF328D
RGBrgb(175, 50, 141)
HSLhsl(316, 56%, 44%)
HSVhsv(316, 71%, 69%)
CMYKcmyk(0%, 71.4%, 19.4%, 31.4%)
CIE-LABlab(43.24, 59.03, -22.76)
CIE-LCHlch(43.24, 63.27, 338.92°)
OKLaboklab(53.54% 0.1763 -0.0613)
OKLCHoklch(53.54% 0.187 340.8)
XYZxyz(23.6282, 13.3206, 26.5209)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF328D #32AF54
analogous
#9332AF #AF328D #AF324F
triadic
#AF328D #8DAF32 #328DAF
tetradic
#AF328D #AF9332 #32AF54 #324FAF
square
#AF328D #AF9332 #32AF54 #324FAF
split-complementary
#AF328D #4FAF32 #32AF93
monochromatic
#501740 #7F2467 #AF328D #CD51AB #DB81C2

Accessibility & contrast

On white

5.73
#AF328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF328D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF328D#FFFFFF#000000##FFFFFF
##AF328D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#BA355B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af328d;
/* rgb */ color: rgb(175, 50, 141);
/* oklch */ color: oklch(53.5% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#cb75ae',
    500: '#af328d',
    950: '#000000',
  },
}
SCSS
$custom: #af328d;
$custom-light: #cb75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af328d",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 316.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.18668,
    "h": 340.8
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#AF328D
secondary
#79C48D
accent
#DF7249
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF328D

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

Preview Lab → · Contrast checker → · Palette generator →

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