#AB3496#AB3496

#AB3496 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 335.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AB3496
RGBrgb(171, 52, 150)
HSLhsl(311, 53%, 44%)
HSVhsv(311, 70%, 67%)
CMYKcmyk(0%, 69.6%, 12.3%, 32.9%)
CIE-LABlab(43.24, 58.60, -28.27)
CIE-LCHlch(43.24, 65.07, 334.25°)
OKLaboklab(53.54% 0.1714 -0.077)
OKLCHoklch(53.54% 0.188 335.8)
XYZxyz(23.5279, 13.3180, 30.1797)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3496 #34AB49
analogous
#8434AB #AB3496 #AB345A
triadic
#AB3496 #96AB34 #3496AB
tetradic
#AB3496 #AB8434 #34AB49 #345AAB
square
#AB3496 #AB8434 #34AB49 #345AAB
split-complementary
#AB3496 #5AAB34 #34AB84
monochromatic
#4D1744 #7C266D #AB3496 #CA52B5 #D981C9

Accessibility & contrast

On white

5.73
#AB3496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB3496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3496
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3496#FFFFFF#000000##FFFFFF
##AB34961.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B99
Deuteranopia (green-blind)
#5D6D93
Tritanopia (blue-blind)
#B43C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3496;
/* rgb */ color: rgb(171, 52, 150);
/* oklch */ color: oklch(53.5% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#c776b5',
    500: '#ab3496',
    950: '#000000',
  },
}
SCSS
$custom: #ab3496;
$custom-light: #c776b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3496",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 310.588,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.18791,
    "h": 335.8
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#AB3496
secondary
#79C286
accent
#DD654B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3496

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

Preview Lab → · Contrast checker → · Palette generator →

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