#AB2879#AB2879

#AB2879 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.183 H 347.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB2879
RGBrgb(171, 40, 121)
HSLhsl(323, 62%, 41%)
HSVhsv(323, 77%, 67%)
CMYKcmyk(0%, 76.6%, 29.2%, 32.9%)
CIE-LABlab(40.51, 58.74, -14.75)
CIE-LCHlch(40.51, 60.56, 345.90°)
OKLaboklab(51.14% 0.179 -0.0389)
OKLCHoklch(51.14% 0.183 347.8)
XYZxyz(21.0056, 11.5584, 19.2102)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2879 #28AB5A
analogous
#9C28AB #AB2879 #AB2838
triadic
#AB2879 #79AB28 #2879AB
tetradic
#AB2879 #AB9C28 #28AB5A #2838AB
square
#AB2879 #AB9C28 #28AB5A #2838AB
split-complementary
#AB2879 #38AB28 #28AB9C
monochromatic
#481133 #791C56 #AB2879 #D23E9A #DE70B4

Accessibility & contrast

On white

6.34
#AB2879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2879
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2879#FFFFFF#000000##FFFFFF
##AB28791.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#636876
Tritanopia (blue-blind)
#B7224D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2879;
/* rgb */ color: rgb(171, 40, 121);
/* oklch */ color: oklch(51.1% 0.183 347.8);
Tailwind
colors: {
  custom: {
    50: '#c8709f',
    500: '#ab2879',
    950: '#000000',
  },
}
SCSS
$custom: #ab2879;
$custom-light: #c8709f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2879",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 322.901,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.18321,
    "h": 347.8
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#AB2879
secondary
#6AC48D
accent
#E58143
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2879

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

Preview Lab → · Contrast checker → · Palette generator →

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