#AB3879#AB3879

#AB3879 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.164 H 349.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB3879
RGBrgb(171, 56, 121)
HSLhsl(326, 51%, 45%)
HSVhsv(326, 67%, 67%)
CMYKcmyk(0%, 67.3%, 29.2%, 32.9%)
CIE-LABlab(42.57, 52.97, -11.62)
CIE-LCHlch(42.57, 54.23, 347.63°)
OKLaboklab(52.65% 0.1611 -0.0304)
OKLCHoklch(52.65% 0.164 349.3)
XYZxyz(21.6610, 12.8691, 19.4287)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3879 #38AB6A
analogous
#A438AB #AB3879 #AB383F
triadic
#AB3879 #79AB38 #3879AB
tetradic
#AB3879 #ABA438 #38AB6A #383FAB
square
#AB3879 #ABA438 #38AB6A #383FAB
split-complementary
#AB3879 #3FAB38 #38ABA4
monochromatic
#4F1A38 #7D2958 #AB3879 #C85897 #D786B4

Accessibility & contrast

On white

5.88
#AB3879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB3879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3879
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3879#FFFFFF#000000##FFFFFF
##AB38791.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#B73353
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3879;
/* rgb */ color: rgb(171, 56, 121);
/* oklch */ color: oklch(52.6% 0.164 349.3);
Tailwind
colors: {
  custom: {
    50: '#c8779f',
    500: '#ab3879',
    950: '#000000',
  },
}
SCSS
$custom: #ab3879;
$custom-light: #c8779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3879",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 326.087,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.16391,
    "h": 349.3
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#AB3879
secondary
#7DC19B
accent
#DA8B4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3879

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

Preview Lab → · Contrast checker → · Palette generator →

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