#AF5599#AF5599

#AF5599 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.2% C 0.144 H 337.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF5599
RGBrgb(175, 85, 153)
HSLhsl(315, 36%, 51%)
HSVhsv(315, 51%, 69%)
CMYKcmyk(0%, 51.4%, 12.6%, 31.4%)
CIE-LABlab(49.39, 45.52, -20.48)
CIE-LCHlch(49.39, 49.91, 335.77°)
OKLaboklab(58.22% 0.1329 -0.0552)
OKLCHoklch(58.22% 0.144 337.5)
XYZxyz(26.6777, 17.9128, 32.1832)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5599 #55AF6B
analogous
#9855AF #AF5599 #AF556C
triadic
#AF5599 #99AF55 #5599AF
tetradic
#AF5599 #AF9855 #55AF6B #556CAF
square
#AF5599 #AF9855 #55AF6B #556CAF
split-complementary
#AF5599 #6CAF55 #55AF98
monochromatic
#5E2C51 #874076 #AF5599 #C37FB2 #D6A8CB

Accessibility & contrast

On white

4.58
#AF5599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF5599 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5599
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5599#FFFFFF#000000##000000
##AF55991.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#576D9B
Deuteranopia (green-blind)
#707A97
Tritanopia (blue-blind)
#B75870
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af5599;
/* rgb */ color: rgb(175, 85, 153);
/* oklch */ color: oklch(58.2% 0.144 337.5);
Tailwind
colors: {
  custom: {
    50: '#c988b7',
    500: '#af5599',
    950: '#000000',
  },
}
SCSS
$custom: #af5599;
$custom-light: #c988b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5599",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 314.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.14392,
    "h": 337.5
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#AF5599
secondary
#9CC4A6
accent
#CC775C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5599

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

Preview Lab → · Contrast checker → · Palette generator →

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