#AB5891#AB5891

#AB5891 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.8% C 0.129 H 340.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5891
RGBrgb(171, 88, 145)
HSLhsl(319, 33%, 51%)
HSVhsv(319, 49%, 67%)
CMYKcmyk(0%, 48.5%, 15.2%, 32.9%)
CIE-LABlab(49.11, 41.39, -16.21)
CIE-LCHlch(49.11, 44.45, 338.61°)
OKLaboklab(57.8% 0.1218 -0.0433)
OKLCHoklch(57.8% 0.129 340.4)
XYZxyz(25.3954, 17.6835, 28.8583)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5891 #58AB72
analogous
#9B58AB #AB5891 #AB5867
triadic
#AB5891 #91AB58 #5891AB
tetradic
#AB5891 #AB9B58 #58AB72 #5867AB
square
#AB5891 #AB9B58 #58AB72 #5867AB
split-complementary
#AB5891 #67AB58 #58AB9B
monochromatic
#5B2E4D #84426F #AB5891 #BF81AC #D4A9C7

Accessibility & contrast

On white

4.63
#AB5891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB5891 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5891
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5891#FFFFFF#000000##FFFFFF
##AB58911.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6D93
Deuteranopia (green-blind)
#727A8F
Tritanopia (blue-blind)
#B3596E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab5891;
/* rgb */ color: rgb(171, 88, 145);
/* oklch */ color: oklch(57.8% 0.129 340.4);
Tailwind
colors: {
  custom: {
    50: '#c68ab1',
    500: '#ab5891',
    950: '#000000',
  },
}
SCSS
$custom: #ab5891;
$custom-light: #c68ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5891",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 318.795,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.1293,
    "h": 340.4
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5891

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

Preview Lab → · Contrast checker → · Palette generator →

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