#AF528F#AF528F

#AF528F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.141 H 342.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF528F
RGBrgb(175, 82, 143)
HSLhsl(321, 37%, 50%)
HSVhsv(321, 53%, 69%)
CMYKcmyk(0%, 53.1%, 18.3%, 31.4%)
CIE-LABlab(48.43, 45.42, -16.00)
CIE-LCHlch(48.43, 48.16, 340.59°)
OKLaboklab(57.38% 0.1349 -0.0426)
OKLCHoklch(57.38% 0.141 342.5)
XYZxyz(25.6549, 17.1338, 27.9372)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF528F #52AF72
analogous
#A052AF #AF528F #AF5260
triadic
#AF528F #8FAF52 #528FAF
tetradic
#AF528F #AFA052 #52AF72 #5260AF
square
#AF528F #AFA052 #52AF72 #5260AF
split-complementary
#AF528F #60AF52 #52AFA0
monochromatic
#5C2B4B #863E6D #AF528F #C27CAA #D6A6C5

Accessibility & contrast

On white

4.74
#AF528F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF528F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF528F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF528F#FFFFFF#000000##FFFFFF
##AF528F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586991
Deuteranopia (green-blind)
#72798D
Tritanopia (blue-blind)
#B9536A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af528f;
/* rgb */ color: rgb(175, 82, 143);
/* oklch */ color: oklch(57.4% 0.141 342.5);
Tailwind
colors: {
  custom: {
    50: '#c986b0',
    500: '#af528f',
    950: '#000000',
  },
}
SCSS
$custom: #af528f;
$custom-light: #c986b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af528f",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 320.645,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.14147,
    "h": 342.5
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#AF528F
secondary
#9AC3A8
accent
#CD825B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF528F

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

Preview Lab → · Contrast checker → · Palette generator →

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