#AB3891#AB3891

#AB3891 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.179 H 338.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB3891
RGBrgb(171, 56, 145)
HSLhsl(314, 51%, 45%)
HSVhsv(314, 67%, 67%)
CMYKcmyk(0%, 67.3%, 15.2%, 32.9%)
CIE-LABlab(43.56, 56.31, -24.75)
CIE-LCHlch(43.56, 61.51, 336.27°)
OKLaboklab(53.7% 0.1662 -0.067)
OKLCHoklch(53.7% 0.179 338)
XYZxyz(23.3200, 13.5327, 28.1665)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3891 #38AB52
analogous
#8C38AB #AB3891 #AB3858
triadic
#AB3891 #91AB38 #3891AB
tetradic
#AB3891 #AB8C38 #38AB52 #3858AB
square
#AB3891 #AB8C38 #38AB52 #3858AB
split-complementary
#AB3891 #58AB38 #38AB8C
monochromatic
#4F1A43 #7D296A #AB3891 #C858AF #D786C5

Accessibility & contrast

On white

5.67
#AB3891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB3891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3891
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3891#FFFFFF#000000##FFFFFF
##AB38911.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C94
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#B43D5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3891;
/* rgb */ color: rgb(171, 56, 145);
/* oklch */ color: oklch(53.7% 0.179 338.0);
Tailwind
colors: {
  custom: {
    50: '#c777b1',
    500: '#ab3891',
    950: '#000000',
  },
}
SCSS
$custom: #ab3891;
$custom-light: #c777b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3891",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 313.565,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.17917,
    "h": 338
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#AB3891
secondary
#7DC18D
accent
#DA6D4E
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3891

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

Preview Lab → · Contrast checker → · Palette generator →

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