#AB3386#AB3386

#AB3386 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.178 H 342.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3386
RGBrgb(171, 51, 134)
HSLhsl(319, 54%, 44%)
HSVhsv(319, 70%, 67%)
CMYKcmyk(0%, 70.2%, 21.6%, 32.9%)
CIE-LABlab(42.38, 56.65, -19.88)
CIE-LCHlch(42.38, 60.04, 340.66°)
OKLaboklab(52.68% 0.1701 -0.0532)
OKLCHoklch(52.68% 0.178 342.6)
XYZxyz(22.2822, 12.7490, 23.8370)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3386 #33AB58
analogous
#9433AB #AB3386 #AB334A
triadic
#AB3386 #86AB33 #3386AB
tetradic
#AB3386 #AB9433 #33AB58 #334AAB
square
#AB3386 #AB9433 #33AB58 #334AAB
split-complementary
#AB3386 #4AAB33 #33AB94
monochromatic
#4D173C #7C2561 #AB3386 #CB50A5 #D97FBD

Accessibility & contrast

On white

5.92
#AB3386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB3386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3386
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3386#FFFFFF#000000##FFFFFF
##AB33861.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#636B83
Tritanopia (blue-blind)
#B63458
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3386;
/* rgb */ color: rgb(171, 51, 134);
/* oklch */ color: oklch(52.7% 0.178 342.6);
Tailwind
colors: {
  custom: {
    50: '#c875a9',
    500: '#ab3386',
    950: '#000000',
  },
}
SCSS
$custom: #ab3386;
$custom-light: #c875a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3386",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 318.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.1782,
    "h": 342.6
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#AB3386
secondary
#78C28F
accent
#DD784A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3386

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

Preview Lab → · Contrast checker → · Palette generator →

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