#AF528C#AF528C

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

Color values

HEX#AF528C
RGBrgb(175, 82, 140)
HSLhsl(323, 37%, 50%)
HSVhsv(323, 53%, 69%)
CMYKcmyk(0%, 53.1%, 20%, 31.4%)
CIE-LABlab(48.32, 44.97, -14.38)
CIE-LCHlch(48.32, 47.21, 342.26°)
OKLaboklab(57.26% 0.1341 -0.0382)
OKLCHoklch(57.26% 0.139 344.1)
XYZxyz(25.4307, 17.0441, 26.7563)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF528C #52AF75
analogous
#A452AF #AF528C #AF525D
triadic
#AF528C #8CAF52 #528CAF
tetradic
#AF528C #AFA452 #52AF75 #525DAF
square
#AF528C #AFA452 #52AF75 #525DAF
split-complementary
#AF528C #5DAF52 #52AFA4
monochromatic
#5C2B49 #863E6B #AF528C #C27CA8 #D6A6C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF528C#FFFFFF#000000##FFFFFF
##AF528C1.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)
#59698E
Deuteranopia (green-blind)
#73788A
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af528c;
/* rgb */ color: rgb(175, 82, 140);
/* oklch */ color: oklch(57.3% 0.139 344.1);
Tailwind
colors: {
  custom: {
    50: '#c986ad',
    500: '#af528c',
    950: '#000000',
  },
}
SCSS
$custom: #af528c;
$custom-light: #c986ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af528c",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 322.581,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.13941,
    "h": 344.1
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF528C

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

Preview Lab → · Contrast checker → · Palette generator →

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