#AB3191#AB3191

#AB3191 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 337.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3191
RGBrgb(171, 49, 145)
HSLhsl(313, 55%, 43%)
HSVhsv(313, 71%, 67%)
CMYKcmyk(0%, 71.3%, 15.2%, 32.9%)
CIE-LABlab(42.61, 58.95, -26.22)
CIE-LCHlch(42.61, 64.52, 336.02°)
OKLaboklab(53.01% 0.1741 -0.0711)
OKLCHoklch(53.01% 0.188 337.8)
XYZxyz(23.0042, 12.9010, 28.0612)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3191 #31AB4B
analogous
#8831AB #AB3191 #AB3154
triadic
#AB3191 #91AB31 #3191AB
tetradic
#AB3191 #AB8831 #31AB4B #3154AB
square
#AB3191 #AB8831 #31AB4B #3154AB
split-complementary
#AB3191 #54AB31 #31AB88
monochromatic
#4C1640 #7B2369 #AB3191 #CC4DB1 #DA7DC6

Accessibility & contrast

On white

5.87
#AB3191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3191
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3191#FFFFFF#000000##FFFFFF
##AB31911.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#B4375D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3191;
/* rgb */ color: rgb(171, 49, 145);
/* oklch */ color: oklch(53.0% 0.188 337.8);
Tailwind
colors: {
  custom: {
    50: '#c874b1',
    500: '#ab3191',
    950: '#000000',
  },
}
SCSS
$custom: #ab3191;
$custom-light: #c874b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3191",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 312.787,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.18802,
    "h": 337.8
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#AB3191
secondary
#75C286
accent
#DF6949
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3191

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

Preview Lab → · Contrast checker → · Palette generator →

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