#AF559E#AF559E

#AF559E is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.148 H 335.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF559E
RGBrgb(175, 85, 158)
HSLhsl(311, 36%, 51%)
HSVhsv(311, 51%, 69%)
CMYKcmyk(0%, 51.4%, 9.7%, 31.4%)
CIE-LABlab(49.59, 46.35, -23.13)
CIE-LCHlch(49.59, 51.80, 333.48°)
OKLaboklab(58.44% 0.1341 -0.0626)
OKLCHoklch(58.44% 0.148 335)
XYZxyz(27.0993, 18.0814, 34.4039)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF559E #55AF66
analogous
#9355AF #AF559E #AF5571
triadic
#AF559E #9EAF55 #559EAF
tetradic
#AF559E #AF9355 #55AF66 #5571AF
square
#AF559E #AF9355 #55AF66 #5571AF
split-complementary
#AF559E #71AF55 #55AF93
monochromatic
#5E2C54 #87407A #AF559E #C37FB6 #D6A8CD

Accessibility & contrast

On white

4.55
#AF559E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF559E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF559E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF559E#FFFFFF#000000##000000
##AF559E1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af559e;
/* rgb */ color: rgb(175, 85, 158);
/* oklch */ color: oklch(58.4% 0.148 335.0);
Tailwind
colors: {
  custom: {
    50: '#c988bb',
    500: '#af559e',
    950: '#000000',
  },
}
SCSS
$custom: #af559e;
$custom-light: #c988bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af559e",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 311.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.14795,
    "h": 335
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#AF559E
secondary
#9CC4A3
accent
#CC715C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF559E

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

Preview Lab → · Contrast checker → · Palette generator →

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