#AB5991#AB5991

#AB5991 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 57.9% C 0.128 H 340.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB5991
RGBrgb(171, 89, 145)
HSLhsl(319, 33%, 51%)
HSVhsv(319, 48%, 67%)
CMYKcmyk(0%, 48%, 15.2%, 32.9%)
CIE-LABlab(49.31, 40.87, -15.90)
CIE-LCHlch(49.31, 43.86, 338.74°)
OKLaboklab(57.95% 0.1203 -0.0425)
OKLCHoklch(57.95% 0.128 340.5)
XYZxyz(25.4781, 17.8488, 28.8858)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5991 #59AB73
analogous
#9C59AB #AB5991 #AB5968
triadic
#AB5991 #91AB59 #5991AB
tetradic
#AB5991 #AB9C59 #59AB73 #5968AB
square
#AB5991 #AB9C59 #59AB73 #5968AB
split-complementary
#AB5991 #68AB59 #59AB9C
monochromatic
#5B2E4D #84436F #AB5991 #C082AC #D4AAC7

Accessibility & contrast

On white

4.60
#AB5991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB5991 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5991
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5991#FFFFFF#000000##FFFFFF
##AB59911.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6D93
Deuteranopia (green-blind)
#737A8F
Tritanopia (blue-blind)
#B35A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab5991;
/* rgb */ color: rgb(171, 89, 145);
/* oklch */ color: oklch(57.9% 0.128 340.5);
Tailwind
colors: {
  custom: {
    50: '#c68ab1',
    500: '#ab5991',
    950: '#000000',
  },
}
SCSS
$custom: #ab5991;
$custom-light: #c68ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5991",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 145
  },
  "hsl": {
    "h": 319.024,
    "s": 32.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.12756,
    "h": 340.5
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#AB5991
secondary
#9EC2A9
accent
#C9805F
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AB5991

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

Preview Lab → · Contrast checker → · Palette generator →

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