#AF559B#AF559B

#AF559B is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.146 H 336.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF559B
RGBrgb(175, 85, 155)
HSLhsl(313, 36%, 51%)
HSVhsv(313, 51%, 69%)
CMYKcmyk(0%, 51.4%, 11.4%, 31.4%)
CIE-LABlab(49.47, 45.85, -21.54)
CIE-LCHlch(49.47, 50.66, 334.83°)
OKLaboklab(58.31% 0.1334 -0.0582)
OKLCHoklch(58.31% 0.146 336.4)
XYZxyz(26.8442, 17.9794, 33.0605)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF559B #55AF69
analogous
#9655AF #AF559B #AF556E
triadic
#AF559B #9BAF55 #559BAF
tetradic
#AF559B #AF9655 #55AF69 #556EAF
square
#AF559B #AF9655 #55AF69 #556EAF
split-complementary
#AF559B #6EAF55 #55AF96
monochromatic
#5E2C53 #874077 #AF559B #C37FB3 #D6A8CC

Accessibility & contrast

On white

4.57
#AF559B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF559B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF559B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF559B#FFFFFF#000000##000000
##AF559B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9D
Deuteranopia (green-blind)
#707B99
Tritanopia (blue-blind)
#B75971
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af559b;
/* rgb */ color: rgb(175, 85, 155);
/* oklch */ color: oklch(58.3% 0.146 336.4);
Tailwind
colors: {
  custom: {
    50: '#c988b8',
    500: '#af559b',
    950: '#000000',
  },
}
SCSS
$custom: #af559b;
$custom-light: #c988b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af559b",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 313.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.14552,
    "h": 336.4
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#AF559B
secondary
#9CC4A5
accent
#CC755C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF559B

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

Preview Lab → · Contrast checker → · Palette generator →

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