#AF529E#AF529E

#AF529E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.153 H 334.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF529E
RGBrgb(175, 82, 158)
HSLhsl(311, 37%, 50%)
HSVhsv(311, 53%, 69%)
CMYKcmyk(0%, 53.1%, 9.7%, 31.4%)
CIE-LABlab(49.03, 47.84, -24.00)
CIE-LCHlch(49.03, 53.52, 333.36°)
OKLaboklab(58.03% 0.1384 -0.0651)
OKLCHoklch(58.03% 0.153 334.8)
XYZxyz(26.8681, 17.6190, 34.3268)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF529E #52AF63
analogous
#9252AF #AF529E #AF526F
triadic
#AF529E #9EAF52 #529EAF
tetradic
#AF529E #AF9252 #52AF63 #526FAF
square
#AF529E #AF9252 #52AF63 #526FAF
split-complementary
#AF529E #6FAF52 #52AF92
monochromatic
#5C2B53 #863E79 #AF529E #C27CB5 #D6A6CD

Accessibility & contrast

On white

4.64
#AF529E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF529E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF529E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF529E#FFFFFF#000000##FFFFFF
##AF529E1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526CA1
Deuteranopia (green-blind)
#6D7A9B
Tritanopia (blue-blind)
#B65771
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af529e;
/* rgb */ color: rgb(175, 82, 158);
/* oklch */ color: oklch(58.0% 0.153 334.8);
Tailwind
colors: {
  custom: {
    50: '#c987bb',
    500: '#af529e',
    950: '#000000',
  },
}
SCSS
$custom: #af529e;
$custom-light: #c987bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af529e",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 310.968,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.15293,
    "h": 334.8
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#AF529E
secondary
#9AC3A1
accent
#CD705B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF529E

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

Preview Lab → · Contrast checker → · Palette generator →

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