#AB3877#AB3877

#AB3877 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.163 H 350.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3877
RGBrgb(171, 56, 119)
HSLhsl(327, 51%, 45%)
HSVhsv(327, 67%, 67%)
CMYKcmyk(0%, 67.3%, 30.4%, 32.9%)
CIE-LABlab(42.49, 52.72, -10.50)
CIE-LCHlch(42.49, 53.76, 348.74°)
OKLaboklab(52.57% 0.1605 -0.0273)
OKLCHoklch(52.57% 0.163 350.3)
XYZxyz(21.5396, 12.8205, 18.7894)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3877 #38AB6C
analogous
#A638AB #AB3877 #AB383E
triadic
#AB3877 #77AB38 #3877AB
tetradic
#AB3877 #ABA638 #38AB6C #383EAB
square
#AB3877 #ABA638 #38AB6C #383EAB
split-complementary
#AB3877 #3EAB38 #38ABA6
monochromatic
#4F1A37 #7D2957 #AB3877 #C85895 #D786B3

Accessibility & contrast

On white

5.89
#AB3877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB3877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3877
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3877#FFFFFF#000000##FFFFFF
##AB38771.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495779
Deuteranopia (green-blind)
#696C74
Tritanopia (blue-blind)
#B73252
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3877;
/* rgb */ color: rgb(171, 56, 119);
/* oklch */ color: oklch(52.6% 0.163 350.3);
Tailwind
colors: {
  custom: {
    50: '#c8779e',
    500: '#ab3877',
    950: '#000000',
  },
}
SCSS
$custom: #ab3877;
$custom-light: #c8779e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3877",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 327.13,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.16284,
    "h": 350.3
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#AB3877
secondary
#7DC19C
accent
#DA8D4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3877

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

Preview Lab → · Contrast checker → · Palette generator →

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