#AB2780#AB2780

#AB2780 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.188 H 344.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2780
RGBrgb(171, 39, 128)
HSLhsl(320, 63%, 41%)
HSVhsv(320, 77%, 67%)
CMYKcmyk(0%, 77.2%, 25.1%, 32.9%)
CIE-LABlab(40.69, 59.92, -18.80)
CIE-LCHlch(40.69, 62.80, 342.58°)
OKLaboklab(51.37% 0.1814 -0.0501)
OKLCHoklch(51.37% 0.188 344.6)
XYZxyz(21.4173, 11.6698, 21.5425)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2780 #27AB52
analogous
#9427AB #AB2780 #AB273E
triadic
#AB2780 #80AB27 #2780AB
tetradic
#AB2780 #AB9427 #27AB52 #273EAB
square
#AB2780 #AB9427 #27AB52 #273EAB
split-complementary
#AB2780 #3EAB27 #27AB94
monochromatic
#471035 #791C5B #AB2780 #D33DA2 #DE6EBA

Accessibility & contrast

On white

6.30
#AB2780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2780
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2780#FFFFFF#000000##FFFFFF
##AB27801.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#60687D
Tritanopia (blue-blind)
#B72551
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2780;
/* rgb */ color: rgb(171, 39, 128);
/* oklch */ color: oklch(51.4% 0.188 344.6);
Tailwind
colors: {
  custom: {
    50: '#c86fa5',
    500: '#ab2780',
    950: '#000000',
  },
}
SCSS
$custom: #ab2780;
$custom-light: #c86fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2780",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 319.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.18823,
    "h": 344.6
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#AB2780
secondary
#69C587
accent
#E67742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2780

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

Preview Lab → · Contrast checker → · Palette generator →

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