#AB2876#AB2876

#AB2876 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 349.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB2876
RGBrgb(171, 40, 118)
HSLhsl(324, 62%, 41%)
HSVhsv(324, 77%, 67%)
CMYKcmyk(0%, 76.6%, 31%, 32.9%)
CIE-LABlab(40.39, 58.38, -13.07)
CIE-LCHlch(40.39, 59.82, 347.38°)
OKLaboklab(51.02% 0.1783 -0.0342)
OKLCHoklch(51.02% 0.182 349.1)
XYZxyz(20.8245, 11.4859, 18.2564)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2876 #28AB5D
analogous
#9F28AB #AB2876 #AB2835
triadic
#AB2876 #76AB28 #2876AB
tetradic
#AB2876 #AB9F28 #28AB5D #2835AB
square
#AB2876 #AB9F28 #28AB5D #2835AB
split-complementary
#AB2876 #35AB28 #28AB9F
monochromatic
#481132 #791C54 #AB2876 #D23E96 #DE70B1

Accessibility & contrast

On white

6.37
#AB2876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2876
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2876#FFFFFF#000000##FFFFFF
##AB28761.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5178
Deuteranopia (green-blind)
#646773
Tritanopia (blue-blind)
#B8204C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2876;
/* rgb */ color: rgb(171, 40, 118);
/* oklch */ color: oklch(51.0% 0.182 349.1);
Tailwind
colors: {
  custom: {
    50: '#c86f9d',
    500: '#ab2876',
    950: '#000000',
  },
}
SCSS
$custom: #ab2876;
$custom-light: #c86f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2876",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 324.275,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.1816,
    "h": 349.1
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#AB2876
secondary
#6AC48F
accent
#E58443
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2876

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

Preview Lab → · Contrast checker → · Palette generator →

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