#AF528D#AF528D

#AF528D is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.140 H 343.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF528D
RGBrgb(175, 82, 141)
HSLhsl(322, 37%, 50%)
HSVhsv(322, 53%, 69%)
CMYKcmyk(0%, 53.1%, 19.4%, 31.4%)
CIE-LABlab(48.35, 45.12, -14.92)
CIE-LCHlch(48.35, 47.52, 341.70°)
OKLaboklab(57.3% 0.1344 -0.0396)
OKLCHoklch(57.3% 0.14 343.6)
XYZxyz(25.5048, 17.0737, 27.1464)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF528D #52AF74
analogous
#A252AF #AF528D #AF525F
triadic
#AF528D #8DAF52 #528DAF
tetradic
#AF528D #AFA252 #52AF74 #525FAF
square
#AF528D #AFA252 #52AF74 #525FAF
split-complementary
#AF528D #5FAF52 #52AFA2
monochromatic
#5C2B4A #863E6C #AF528D #C27CA9 #D6A6C4

Accessibility & contrast

On white

4.76
#AF528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF528D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF528D#FFFFFF#000000##FFFFFF
##AF528D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af528d;
/* rgb */ color: rgb(175, 82, 141);
/* oklch */ color: oklch(57.3% 0.140 343.6);
Tailwind
colors: {
  custom: {
    50: '#c986ae',
    500: '#af528d',
    950: '#000000',
  },
}
SCSS
$custom: #af528d;
$custom-light: #c986ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af528d",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 321.935,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.14009,
    "h": 343.6
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#AF528D
secondary
#9AC3A9
accent
#CD855B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF528D

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

Preview Lab → · Contrast checker → · Palette generator →

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