#AB2B77#AB2B77

#AB2B77 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.179 H 348.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB2B77
RGBrgb(171, 43, 119)
HSLhsl(324, 60%, 42%)
HSVhsv(324, 75%, 67%)
CMYKcmyk(0%, 74.9%, 30.4%, 32.9%)
CIE-LABlab(40.77, 57.53, -13.11)
CIE-LCHlch(40.77, 59.01, 347.16°)
OKLaboklab(51.31% 0.1756 -0.0344)
OKLCHoklch(51.31% 0.179 348.9)
XYZxyz(20.9893, 11.7200, 18.6060)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B77 #2BAB5F
analogous
#9F2BAB #AB2B77 #AB2B37
triadic
#AB2B77 #77AB2B #2B77AB
tetradic
#AB2B77 #AB9F2B #2BAB5F #2B37AB
square
#AB2B77 #AB9F2B #2BAB5F #2B37AB
split-complementary
#AB2B77 #37AB2B #2BAB9F
monochromatic
#491233 #7A1F55 #AB2B77 #D04397 #DC74B2

Accessibility & contrast

On white

6.28
#AB2B77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2B77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B77
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B77#FFFFFF#000000##FFFFFF
##AB2B771.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5279
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#B8244D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b77;
/* rgb */ color: rgb(171, 43, 119);
/* oklch */ color: oklch(51.3% 0.179 348.9);
Tailwind
colors: {
  custom: {
    50: '#c8719e',
    500: '#ab2b77',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b77;
$custom-light: #c8719e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b77",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 324.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.17888,
    "h": 348.9
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#AB2B77
secondary
#6EC491
accent
#E38545
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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