#AF559C#AF559C

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

Color values

HEX#AF559C
RGBrgb(175, 85, 156)
HSLhsl(313, 36%, 51%)
HSVhsv(313, 51%, 69%)
CMYKcmyk(0%, 51.4%, 10.9%, 31.4%)
CIE-LABlab(49.51, 46.01, -22.07)
CIE-LCHlch(49.51, 51.03, 334.37°)
OKLaboklab(58.36% 0.1336 -0.0596)
OKLCHoklch(58.36% 0.146 335.9)
XYZxyz(26.9286, 18.0131, 33.5046)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF559C #55AF68
analogous
#9555AF #AF559C #AF556F
triadic
#AF559C #9CAF55 #559CAF
tetradic
#AF559C #AF9555 #55AF68 #556FAF
square
#AF559C #AF9555 #55AF68 #556FAF
split-complementary
#AF559C #6FAF55 #55AF95
monochromatic
#5E2C53 #874078 #AF559C #C37FB4 #D6A8CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF559C#FFFFFF#000000##000000
##AF559C1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9E
Deuteranopia (green-blind)
#6F7B9A
Tritanopia (blue-blind)
#B75971
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af559c;
/* rgb */ color: rgb(175, 85, 156);
/* oklch */ color: oklch(58.4% 0.146 335.9);
Tailwind
colors: {
  custom: {
    50: '#c988b9',
    500: '#af559c',
    950: '#000000',
  },
}
SCSS
$custom: #af559c;
$custom-light: #c988b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af559c",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 312.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.14632,
    "h": 335.9
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF559C

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

Preview Lab → · Contrast checker → · Palette generator →

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