#AB3771#AB3771

#AB3771 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.2% C 0.161 H 353.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3771
RGBrgb(171, 55, 113)
HSLhsl(330, 51%, 44%)
HSVhsv(330, 68%, 67%)
CMYKcmyk(0%, 67.8%, 33.9%, 32.9%)
CIE-LABlab(42.13, 52.39, -7.33)
CIE-LCHlch(42.13, 52.90, 352.03°)
OKLaboklab(52.23% 0.1601 -0.0187)
OKLCHoklch(52.23% 0.161 353.3)
XYZxyz(21.1426, 12.5849, 16.9353)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3771 #37AB71
analogous
#AB37AB #AB3771 #AB3737
triadic
#AB3771 #71AB37 #3771AB
tetradic
#AB3771 #ABAB37 #37AB71 #3737AB
square
#AB3771 #ABAB37 #37AB71 #3737AB
split-complementary
#AB3771 #37AB37 #37ABAB
monochromatic
#4E1934 #7D2852 #AB3771 #C95690 #D885AE

Accessibility & contrast

On white

5.97
#AB3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3771
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3771#FFFFFF#000000##FFFFFF
##AB37711.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#B82F4F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3771;
/* rgb */ color: rgb(171, 55, 113);
/* oklch */ color: oklch(52.2% 0.161 353.3);
Tailwind
colors: {
  custom: {
    50: '#c87699',
    500: '#ab3771',
    950: '#000000',
  },
}
SCSS
$custom: #ab3771;
$custom-light: #c87699;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3771",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.16117,
    "h": 353.3
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#AB3771
secondary
#7CC19F
accent
#DB944D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3771

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

Preview Lab → · Contrast checker → · Palette generator →

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