#AF528E#AF528E

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

Color values

HEX#AF528E
RGBrgb(175, 82, 142)
HSLhsl(321, 37%, 50%)
HSVhsv(321, 53%, 69%)
CMYKcmyk(0%, 53.1%, 18.9%, 31.4%)
CIE-LABlab(48.39, 45.27, -15.46)
CIE-LCHlch(48.39, 47.84, 341.14°)
OKLaboklab(57.34% 0.1346 -0.0411)
OKLCHoklch(57.34% 0.141 343)
XYZxyz(25.5795, 17.1036, 27.5400)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF528E #52AF73
analogous
#A152AF #AF528E #AF525F
triadic
#AF528E #8EAF52 #528EAF
tetradic
#AF528E #AFA152 #52AF73 #525FAF
square
#AF528E #AFA152 #52AF73 #525FAF
split-complementary
#AF528E #5FAF52 #52AFA1
monochromatic
#5C2B4A #863E6C #AF528E #C27CA9 #D6A6C5

Accessibility & contrast

On white

4.75
#AF528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF528E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF528E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF528E#FFFFFF#000000##FFFFFF
##AF528E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#72798C
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af528e;
/* rgb */ color: rgb(175, 82, 142);
/* oklch */ color: oklch(57.3% 0.141 343.0);
Tailwind
colors: {
  custom: {
    50: '#c986af',
    500: '#af528e',
    950: '#000000',
  },
}
SCSS
$custom: #af528e;
$custom-light: #c986af;
$custom-dark: #000000;
JSON
{
  "hex": "#af528e",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 321.29,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.14078,
    "h": 343
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF528E

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

Preview Lab → · Contrast checker → · Palette generator →

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