#AB3388#AB3388

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

Color values

HEX#AB3388
RGBrgb(171, 51, 136)
HSLhsl(318, 54%, 44%)
HSVhsv(318, 70%, 67%)
CMYKcmyk(0%, 70.2%, 20.5%, 32.9%)
CIE-LABlab(42.47, 56.93, -20.97)
CIE-LCHlch(42.47, 60.67, 339.78°)
OKLaboklab(52.77% 0.1704 -0.0563)
OKLCHoklch(52.77% 0.179 341.7)
XYZxyz(22.4230, 12.8053, 24.5785)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3388 #33AB56
analogous
#9233AB #AB3388 #AB334C
triadic
#AB3388 #88AB33 #3388AB
tetradic
#AB3388 #AB9233 #33AB56 #334CAB
square
#AB3388 #AB9233 #33AB56 #334CAB
split-complementary
#AB3388 #4CAB33 #33AB92
monochromatic
#4D173D #7C2563 #AB3388 #CB50A7 #D97FBF

Accessibility & contrast

On white

5.90
#AB3388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB3388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3388
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3388#FFFFFF#000000##FFFFFF
##AB33881.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3388;
/* rgb */ color: rgb(171, 51, 136);
/* oklch */ color: oklch(52.8% 0.179 341.7);
Tailwind
colors: {
  custom: {
    50: '#c875ab',
    500: '#ab3388',
    950: '#000000',
  },
}
SCSS
$custom: #ab3388;
$custom-light: #c875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3388",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 317.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.17949,
    "h": 341.7
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3388

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

Preview Lab → · Contrast checker → · Palette generator →

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