#AB5599#AB5599

#AB5599 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.141 H 335.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB5599
RGBrgb(171, 85, 153)
HSLhsl(313, 34%, 50%)
HSVhsv(313, 50%, 67%)
CMYKcmyk(0%, 50.3%, 10.5%, 32.9%)
CIE-LABlab(48.83, 44.27, -21.39)
CIE-LCHlch(48.83, 49.17, 334.21°)
OKLaboklab(57.69% 0.1284 -0.0578)
OKLCHoklch(57.69% 0.141 335.8)
XYZxyz(25.7929, 17.4566, 32.1417)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5599 #55AB67
analogous
#9255AB #AB5599 #AB556E
triadic
#AB5599 #99AB55 #5599AB
tetradic
#AB5599 #AB9255 #55AB67 #556EAB
square
#AB5599 #AB9255 #55AB67 #556EAB
split-complementary
#AB5599 #6EAB55 #55AB92
monochromatic
#592C50 #824075 #AB5599 #BF7EB2 #D3A7CA

Accessibility & contrast

On white

4.68
#AB5599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB5599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5599
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5599#FFFFFF#000000##FFFFFF
##AB55991.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#6E7997
Tritanopia (blue-blind)
#B25970
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab5599;
/* rgb */ color: rgb(171, 85, 153);
/* oklch */ color: oklch(57.7% 0.141 335.8);
Tailwind
colors: {
  custom: {
    50: '#c688b7',
    500: '#ab5599',
    950: '#000000',
  },
}
SCSS
$custom: #ab5599;
$custom-light: #c688b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5599",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 312.558,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.14078,
    "h": 335.8
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#AB5599
secondary
#9BC1A3
accent
#CA745E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB5599

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

Preview Lab → · Contrast checker → · Palette generator →

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