#AB3277#AB3277

#AB3277 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.171 H 349.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB3277
RGBrgb(171, 50, 119)
HSLhsl(326, 55%, 43%)
HSVhsv(326, 71%, 67%)
CMYKcmyk(0%, 70.8%, 30.4%, 32.9%)
CIE-LABlab(41.65, 55.06, -11.78)
CIE-LCHlch(41.65, 56.31, 347.93°)
OKLaboklab(51.95% 0.1678 -0.0308)
OKLCHoklch(51.95% 0.171 349.6)
XYZxyz(21.2660, 12.2734, 18.6983)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3277 #32AB66
analogous
#A232AB #AB3277 #AB323A
triadic
#AB3277 #77AB32 #3277AB
tetradic
#AB3277 #ABA232 #32AB66 #323AAB
square
#AB3277 #ABA232 #32AB66 #323AAB
split-complementary
#AB3277 #3AAB32 #32ABA2
monochromatic
#4C1635 #7C2456 #AB3277 #CB4F96 #D97EB2

Accessibility & contrast

On white

6.08
#AB3277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB3277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3277
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3277#FFFFFF#000000##FFFFFF
##AB32771.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#B72C50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3277;
/* rgb */ color: rgb(171, 50, 119);
/* oklch */ color: oklch(51.9% 0.171 349.6);
Tailwind
colors: {
  custom: {
    50: '#c8749e',
    500: '#ab3277',
    950: '#000000',
  },
}
SCSS
$custom: #ab3277;
$custom-light: #c8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3277",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 325.785,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.17063,
    "h": 349.6
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#AB3277
secondary
#77C297
accent
#DE894A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3277

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

Preview Lab → · Contrast checker → · Palette generator →

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