#AB2784#AB2784

#AB2784 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.191 H 342.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB2784
RGBrgb(171, 39, 132)
HSLhsl(318, 63%, 41%)
HSVhsv(318, 77%, 67%)
CMYKcmyk(0%, 77.2%, 22.8%, 32.9%)
CIE-LABlab(40.86, 60.44, -21.00)
CIE-LCHlch(40.86, 63.99, 340.84°)
OKLaboklab(51.55% 0.1821 -0.0563)
OKLCHoklch(51.55% 0.191 342.8)
XYZxyz(21.6858, 11.7772, 22.9565)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2784 #27AB4E
analogous
#9027AB #AB2784 #AB2742
triadic
#AB2784 #84AB27 #2784AB
tetradic
#AB2784 #AB9027 #27AB4E #2742AB
square
#AB2784 #AB9027 #27AB4E #2742AB
split-complementary
#AB2784 #42AB27 #27AB90
monochromatic
#471037 #791C5E #AB2784 #D33DA6 #DE6EBD

Accessibility & contrast

On white

6.26
#AB2784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2784
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2784#FFFFFF#000000##FFFFFF
##AB27841.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355386
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#B62853
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2784;
/* rgb */ color: rgb(171, 39, 132);
/* oklch */ color: oklch(51.5% 0.191 342.8);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2784',
    950: '#000000',
  },
}
SCSS
$custom: #ab2784;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2784",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 317.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.19064,
    "h": 342.8
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#AB2784
secondary
#69C584
accent
#E67242
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2784

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

Preview Lab → · Contrast checker → · Palette generator →

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