#AB3389#AB3389

#AB3389 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.180 H 341.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3389
RGBrgb(171, 51, 137)
HSLhsl(317, 54%, 44%)
HSVhsv(317, 70%, 67%)
CMYKcmyk(0%, 70.2%, 19.9%, 32.9%)
CIE-LABlab(42.51, 57.07, -21.51)
CIE-LCHlch(42.51, 60.99, 339.35°)
OKLaboklab(52.82% 0.1706 -0.0578)
OKLCHoklch(52.82% 0.18 341.3)
XYZxyz(22.4944, 12.8339, 24.9546)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3389 #33AB55
analogous
#9133AB #AB3389 #AB334D
triadic
#AB3389 #89AB33 #3389AB
tetradic
#AB3389 #AB9133 #33AB55 #334DAB
square
#AB3389 #AB9133 #33AB55 #334DAB
split-complementary
#AB3389 #4DAB33 #33AB91
monochromatic
#4D173D #7C2563 #AB3389 #CB50A8 #D97FC0

Accessibility & contrast

On white

5.89
#AB3389 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB3389 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3389
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3389#FFFFFF#000000##FFFFFF
##AB33891.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588B
Deuteranopia (green-blind)
#626B86
Tritanopia (blue-blind)
#B53559
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3389;
/* rgb */ color: rgb(171, 51, 137);
/* oklch */ color: oklch(52.8% 0.180 341.3);
Tailwind
colors: {
  custom: {
    50: '#c875ab',
    500: '#ab3389',
    950: '#000000',
  },
}
SCSS
$custom: #ab3389;
$custom-light: #c875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3389",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 317,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.18015,
    "h": 341.3
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#AB3389
secondary
#78C28D
accent
#DD744A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3389

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

Preview Lab → · Contrast checker → · Palette generator →

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