#AB3977#AB3977

#AB3977 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.161 H 350.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB3977
RGBrgb(171, 57, 119)
HSLhsl(327, 50%, 45%)
HSVhsv(327, 67%, 67%)
CMYKcmyk(0%, 66.7%, 30.4%, 32.9%)
CIE-LABlab(42.64, 52.31, -10.28)
CIE-LCHlch(42.64, 53.31, 348.89°)
OKLaboklab(52.68% 0.1593 -0.0267)
OKLCHoklch(52.68% 0.161 350.5)
XYZxyz(21.5885, 12.9184, 18.8058)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3977 #39AB6D
analogous
#A639AB #AB3977 #AB393E
triadic
#AB3977 #77AB39 #3977AB
tetradic
#AB3977 #ABA639 #39AB6D #393EAB
square
#AB3977 #ABA639 #39AB6D #393EAB
split-complementary
#AB3977 #3EAB39 #39ABA6
monochromatic
#4F1A37 #7D2A57 #AB3977 #C85995 #D787B3

Accessibility & contrast

On white

5.86
#AB3977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3977
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3977#FFFFFF#000000##FFFFFF
##AB39771.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495879
Deuteranopia (green-blind)
#6A6C74
Tritanopia (blue-blind)
#B73353
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3977;
/* rgb */ color: rgb(171, 57, 119);
/* oklch */ color: oklch(52.7% 0.161 350.5);
Tailwind
colors: {
  custom: {
    50: '#c8779e',
    500: '#ab3977',
    950: '#000000',
  },
}
SCSS
$custom: #ab3977;
$custom-light: #c8779e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3977",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 327.368,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.16149,
    "h": 350.5
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#AB3977
secondary
#7FC19D
accent
#DA8E4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3977

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

Preview Lab → · Contrast checker → · Palette generator →

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