#AB3196#AB3196

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

Color values

HEX#AB3196
RGBrgb(171, 49, 150)
HSLhsl(310, 55%, 43%)
HSVhsv(310, 71%, 67%)
CMYKcmyk(0%, 71.3%, 12.3%, 32.9%)
CIE-LABlab(42.85, 59.70, -28.87)
CIE-LCHlch(42.85, 66.31, 334.19°)
OKLaboklab(53.26% 0.1746 -0.0787)
OKLCHoklch(53.26% 0.192 335.7)
XYZxyz(23.3982, 13.0586, 30.1365)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3196 #31AB46
analogous
#8331AB #AB3196 #AB3159
triadic
#AB3196 #96AB31 #3196AB
tetradic
#AB3196 #AB8331 #31AB46 #3159AB
square
#AB3196 #AB8331 #31AB46 #3159AB
split-complementary
#AB3196 #59AB31 #31AB83
monochromatic
#4C1643 #7B236C #AB3196 #CC4DB6 #DA7DCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3196#FFFFFF#000000##FFFFFF
##AB31961.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)
#325999
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#B43A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3196;
/* rgb */ color: rgb(171, 49, 150);
/* oklch */ color: oklch(53.3% 0.192 335.7);
Tailwind
colors: {
  custom: {
    50: '#c874b5',
    500: '#ab3196',
    950: '#000000',
  },
}
SCSS
$custom: #ab3196;
$custom-light: #c874b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3196",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 310.328,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.19156,
    "h": 335.7
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#AB3196
secondary
#75C283
accent
#DF6349
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3196

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

Preview Lab → · Contrast checker → · Palette generator →

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