#AB2C76#AB2C76

#AB2C76 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.177 H 349.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB2C76
RGBrgb(171, 44, 118)
HSLhsl(325, 59%, 42%)
HSVhsv(325, 74%, 67%)
CMYKcmyk(0%, 74.3%, 31%, 32.9%)
CIE-LABlab(40.85, 57.08, -12.37)
CIE-LCHlch(40.85, 58.40, 347.77°)
OKLaboklab(51.35% 0.1743 -0.0323)
OKLCHoklch(51.35% 0.177 349.5)
XYZxyz(20.9664, 11.7697, 18.3037)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C76 #2CAB61
analogous
#A02CAB #AB2C76 #AB2C37
triadic
#AB2C76 #76AB2C #2C76AB
tetradic
#AB2C76 #ABA02C #2CAB61 #2C37AB
square
#AB2C76 #ABA02C #2CAB61 #2C37AB
split-complementary
#AB2C76 #37AB2C #2CABA0
monochromatic
#4A1333 #7A1F54 #AB2C76 #CF4596 #DC76B1

Accessibility & contrast

On white

6.26
#AB2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C76
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C76#FFFFFF#000000##FFFFFF
##AB2C761.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405278
Deuteranopia (green-blind)
#656873
Tritanopia (blue-blind)
#B8254D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c76;
/* rgb */ color: rgb(171, 44, 118);
/* oklch */ color: oklch(51.4% 0.177 349.5);
Tailwind
colors: {
  custom: {
    50: '#c8719d',
    500: '#ab2c76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c76;
$custom-light: #c8719d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c76",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 325.039,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.17724,
    "h": 349.5
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#AB2C76
secondary
#6FC392
accent
#E28746
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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