#AB2B80#AB2B80

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

Color values

HEX#AB2B80
RGBrgb(171, 43, 128)
HSLhsl(320, 60%, 42%)
HSVhsv(320, 75%, 67%)
CMYKcmyk(0%, 74.9%, 25.1%, 32.9%)
CIE-LABlab(41.13, 58.66, -18.12)
CIE-LCHlch(41.13, 61.40, 342.83°)
OKLaboklab(51.69% 0.1775 -0.0482)
OKLCHoklch(51.69% 0.184 344.8)
XYZxyz(21.5556, 11.9465, 21.5886)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B80 #2BAB56
analogous
#962BAB #AB2B80 #AB2B40
triadic
#AB2B80 #80AB2B #2B80AB
tetradic
#AB2B80 #AB962B #2BAB56 #2B40AB
square
#AB2B80 #AB962B #2BAB56 #2B40AB
split-complementary
#AB2B80 #40AB2B #2BAB96
monochromatic
#491237 #7A1F5B #AB2B80 #D043A1 #DC74B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2B80#FFFFFF#000000##FFFFFF
##AB2B801.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)
#3B5382
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#B72952
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2b80;
/* rgb */ color: rgb(171, 43, 128);
/* oklch */ color: oklch(51.7% 0.184 344.8);
Tailwind
colors: {
  custom: {
    50: '#c871a5',
    500: '#ab2b80',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b80;
$custom-light: #c871a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b80",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 320.156,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.18397,
    "h": 344.8
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#AB2B80
secondary
#6EC48B
accent
#E37A45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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