#AB3391#AB3391

#AB3391 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.186 H 337.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB3391
RGBrgb(171, 51, 145)
HSLhsl(313, 54%, 44%)
HSVhsv(313, 70%, 67%)
CMYKcmyk(0%, 70.2%, 15.2%, 32.9%)
CIE-LABlab(42.87, 58.23, -25.82)
CIE-LCHlch(42.87, 63.69, 336.09°)
OKLaboklab(53.2% 0.1719 -0.07)
OKLCHoklch(53.2% 0.186 337.8)
XYZxyz(23.0897, 13.0720, 28.0897)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3391 #33AB4D
analogous
#8933AB #AB3391 #AB3355
triadic
#AB3391 #91AB33 #3391AB
tetradic
#AB3391 #AB8933 #33AB4D #3355AB
square
#AB3391 #AB8933 #33AB4D #3355AB
split-complementary
#AB3391 #55AB33 #33AB89
monochromatic
#4D1741 #7C2569 #AB3391 #CB50B0 #D97FC6

Accessibility & contrast

On white

5.81
#AB3391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB3391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3391
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3391#FFFFFF#000000##FFFFFF
##AB33911.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375994
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#B4395E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3391;
/* rgb */ color: rgb(171, 51, 145);
/* oklch */ color: oklch(53.2% 0.186 337.8);
Tailwind
colors: {
  custom: {
    50: '#c875b1',
    500: '#ab3391',
    950: '#000000',
  },
}
SCSS
$custom: #ab3391;
$custom-light: #c875b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3391",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 313,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.18559,
    "h": 337.8
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#AB3391
secondary
#78C288
accent
#DD6A4A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3391

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

Preview Lab → · Contrast checker → · Palette generator →

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