#AB2E77#AB2E77

#AB2E77 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.175 H 349.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB2E77
RGBrgb(171, 46, 119)
HSLhsl(325, 58%, 43%)
HSVhsv(325, 73%, 67%)
CMYKcmyk(0%, 73.1%, 30.4%, 32.9%)
CIE-LABlab(41.13, 56.51, -12.56)
CIE-LCHlch(41.13, 57.89, 347.47°)
OKLaboklab(51.57% 0.1724 -0.0329)
OKLCHoklch(51.57% 0.175 349.2)
XYZxyz(21.1024, 11.9462, 18.6437)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E77 #2EAB62
analogous
#A12EAB #AB2E77 #AB2E38
triadic
#AB2E77 #77AB2E #2E77AB
tetradic
#AB2E77 #ABA12E #2EAB62 #2E38AB
square
#AB2E77 #ABA12E #2EAB62 #2E38AB
split-complementary
#AB2E77 #38AB2E #2EABA1
monochromatic
#4B1434 #7B2155 #AB2E77 #CE4896 #DB79B2

Accessibility & contrast

On white

6.20
#AB2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E77
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E77#FFFFFF#000000##FFFFFF
##AB2E771.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415379
Deuteranopia (green-blind)
#656974
Tritanopia (blue-blind)
#B7274E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e77;
/* rgb */ color: rgb(171, 46, 119);
/* oklch */ color: oklch(51.6% 0.175 349.2);
Tailwind
colors: {
  custom: {
    50: '#c8729e',
    500: '#ab2e77',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e77;
$custom-light: #c8729e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e77",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 324.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.17546,
    "h": 349.2
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#AB2E77
secondary
#72C394
accent
#E18747
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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