#AB2C80#AB2C80

#AB2C80 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.183 H 344.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB2C80
RGBrgb(171, 44, 128)
HSLhsl(320, 59%, 42%)
HSVhsv(320, 74%, 67%)
CMYKcmyk(0%, 74.3%, 25.1%, 32.9%)
CIE-LABlab(41.25, 58.33, -17.94)
CIE-LCHlch(41.25, 61.03, 342.90°)
OKLaboklab(51.77% 0.1765 -0.0478)
OKLCHoklch(51.77% 0.183 344.9)
XYZxyz(21.5924, 12.0201, 21.6009)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C80 #2CAB57
analogous
#972CAB #AB2C80 #AB2C40
triadic
#AB2C80 #80AB2C #2C80AB
tetradic
#AB2C80 #AB972C #2CAB57 #2C40AB
square
#AB2C80 #AB972C #2CAB57 #2C40AB
split-complementary
#AB2C80 #40AB2C #2CAB97
monochromatic
#4A1337 #7A1F5C #AB2C80 #CF45A0 #DC76B9

Accessibility & contrast

On white

6.17
#AB2C80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2C80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C80
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C80#FFFFFF#000000##FFFFFF
##AB2C801.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5482
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#B72A52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2c80;
/* rgb */ color: rgb(171, 44, 128);
/* oklch */ color: oklch(51.8% 0.183 344.9);
Tailwind
colors: {
  custom: {
    50: '#c871a5',
    500: '#ab2c80',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c80;
$custom-light: #c871a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c80",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 320.315,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.18285,
    "h": 344.9
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#AB2C80
secondary
#6FC38C
accent
#E27B46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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