#AB3397#AB3397

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

Color values

HEX#AB3397
RGBrgb(171, 51, 151)
HSLhsl(310, 54%, 44%)
HSVhsv(310, 70%, 67%)
CMYKcmyk(0%, 70.2%, 11.7%, 32.9%)
CIE-LABlab(43.16, 59.13, -29.00)
CIE-LCHlch(43.16, 65.86, 333.87°)
OKLaboklab(53.5% 0.1726 -0.0791)
OKLCHoklch(53.5% 0.19 335.4)
XYZxyz(23.5646, 13.2620, 30.5909)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3397 #33AB47
analogous
#8333AB #AB3397 #AB335B
triadic
#AB3397 #97AB33 #3397AB
tetradic
#AB3397 #AB8333 #33AB47 #335BAB
square
#AB3397 #AB8333 #33AB47 #335BAB
split-complementary
#AB3397 #5BAB33 #33AB83
monochromatic
#4D1744 #7C256D #AB3397 #CB50B6 #D97FCA

Accessibility & contrast

On white

5.75
#AB3397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB3397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3397
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3397#FFFFFF#000000##FFFFFF
##AB33971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#B33C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3397;
/* rgb */ color: rgb(171, 51, 151);
/* oklch */ color: oklch(53.5% 0.190 335.4);
Tailwind
colors: {
  custom: {
    50: '#c775b6',
    500: '#ab3397',
    950: '#000000',
  },
}
SCSS
$custom: #ab3397;
$custom-light: #c775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3397",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 310,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.18988,
    "h": 335.4
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#AB3397
secondary
#78C284
accent
#DD634A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3397

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

Preview Lab → · Contrast checker → · Palette generator →

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