#AB2C77#AB2C77

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

Color values

HEX#AB2C77
RGBrgb(171, 44, 119)
HSLhsl(325, 59%, 42%)
HSVhsv(325, 74%, 67%)
CMYKcmyk(0%, 74.3%, 30.4%, 32.9%)
CIE-LABlab(40.89, 57.20, -12.93)
CIE-LCHlch(40.89, 58.64, 347.26°)
OKLaboklab(51.39% 0.1745 -0.0339)
OKLCHoklch(51.39% 0.178 349)
XYZxyz(21.0261, 11.7936, 18.6183)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C77 #2CAB60
analogous
#A02CAB #AB2C77 #AB2C37
triadic
#AB2C77 #77AB2C #2C77AB
tetradic
#AB2C77 #ABA02C #2CAB60 #2C37AB
square
#AB2C77 #ABA02C #2CAB60 #2C37AB
split-complementary
#AB2C77 #37AB2C #2CABA0
monochromatic
#4A1333 #7A1F55 #AB2C77 #CF4597 #DC76B2

Accessibility & contrast

On white

6.25
#AB2C77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2C77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C77
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C77#FFFFFF#000000##FFFFFF
##AB2C771.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#656874
Tritanopia (blue-blind)
#B7254E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c77;
/* rgb */ color: rgb(171, 44, 119);
/* oklch */ color: oklch(51.4% 0.178 349.0);
Tailwind
colors: {
  custom: {
    50: '#c8719e',
    500: '#ab2c77',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c77;
$custom-light: #c8719e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c77",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 324.567,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.17777,
    "h": 349
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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