#AB3377#AB3377

#AB3377 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.169 H 349.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB3377
RGBrgb(171, 51, 119)
HSLhsl(326, 54%, 44%)
HSVhsv(326, 70%, 67%)
CMYKcmyk(0%, 70.2%, 30.4%, 32.9%)
CIE-LABlab(41.78, 54.69, -11.57)
CIE-LCHlch(41.78, 55.90, 348.05°)
OKLaboklab(52.05% 0.1667 -0.0302)
OKLCHoklch(52.05% 0.169 349.7)
XYZxyz(21.3093, 12.3598, 18.7127)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3377 #33AB67
analogous
#A333AB #AB3377 #AB333B
triadic
#AB3377 #77AB33 #3377AB
tetradic
#AB3377 #ABA333 #33AB67 #333BAB
square
#AB3377 #ABA333 #33AB67 #333BAB
split-complementary
#AB3377 #3BAB33 #33ABA3
monochromatic
#4D1735 #7C2556 #AB3377 #CB5096 #D97FB2

Accessibility & contrast

On white

6.05
#AB3377 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB3377 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3377
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3377#FFFFFF#000000##FFFFFF
##AB33771.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455579
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#B72D50
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3377;
/* rgb */ color: rgb(171, 51, 119);
/* oklch */ color: oklch(52.0% 0.169 349.7);
Tailwind
colors: {
  custom: {
    50: '#c8749e',
    500: '#ab3377',
    950: '#000000',
  },
}
SCSS
$custom: #ab3377;
$custom-light: #c8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3377",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 326,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.16938,
    "h": 349.7
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#AB3377
secondary
#78C298
accent
#DD8A4A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3377

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

Preview Lab → · Contrast checker → · Palette generator →

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