#AF559D#AF559D

#AF559D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.4% C 0.147 H 335.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF559D
RGBrgb(175, 85, 157)
HSLhsl(312, 36%, 51%)
HSVhsv(312, 51%, 69%)
CMYKcmyk(0%, 51.4%, 10.3%, 31.4%)
CIE-LABlab(49.55, 46.18, -22.60)
CIE-LCHlch(49.55, 51.42, 333.92°)
OKLaboklab(58.4% 0.1338 -0.0611)
OKLCHoklch(58.4% 0.147 335.5)
XYZxyz(27.0136, 18.0471, 33.9524)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF559D #55AF67
analogous
#9455AF #AF559D #AF5570
triadic
#AF559D #9DAF55 #559DAF
tetradic
#AF559D #AF9455 #55AF67 #5570AF
square
#AF559D #AF9455 #55AF67 #5570AF
split-complementary
#AF559D #70AF55 #55AF94
monochromatic
#5E2C54 #874079 #AF559D #C37FB5 #D6A8CD

Accessibility & contrast

On white

4.56
#AF559D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF559D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF559D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF559D#FFFFFF#000000##000000
##AF559D1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#556D9F
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#B75972
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af559d;
/* rgb */ color: rgb(175, 85, 157);
/* oklch */ color: oklch(58.4% 0.147 335.5);
Tailwind
colors: {
  custom: {
    50: '#c988ba',
    500: '#af559d',
    950: '#000000',
  },
}
SCSS
$custom: #af559d;
$custom-light: #c988ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af559d",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 312,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.14713,
    "h": 335.5
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#AF559D
secondary
#9CC4A4
accent
#CC725C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF559D

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

Preview Lab → · Contrast checker → · Palette generator →

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