#AB2782#AB2782

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

Color values

HEX#AB2782
RGBrgb(171, 39, 130)
HSLhsl(319, 63%, 41%)
HSVhsv(319, 77%, 67%)
CMYKcmyk(0%, 77.2%, 24%, 32.9%)
CIE-LABlab(40.77, 60.18, -19.91)
CIE-LCHlch(40.77, 63.39, 341.70°)
OKLaboklab(51.46% 0.1818 -0.0532)
OKLCHoklch(51.46% 0.189 343.7)
XYZxyz(21.5502, 11.7230, 22.2426)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2782 #27AB50
analogous
#9227AB #AB2782 #AB2740
triadic
#AB2782 #82AB27 #2782AB
tetradic
#AB2782 #AB9227 #27AB50 #2740AB
square
#AB2782 #AB9227 #27AB50 #2740AB
split-complementary
#AB2782 #40AB27 #27AB92
monochromatic
#471036 #791C5C #AB2782 #D33DA4 #DE6EBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2782#FFFFFF#000000##FFFFFF
##AB27821.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)
#375284
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#B62752
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2782;
/* rgb */ color: rgb(171, 39, 130);
/* oklch */ color: oklch(51.5% 0.189 343.7);
Tailwind
colors: {
  custom: {
    50: '#c86fa6',
    500: '#ab2782',
    950: '#000000',
  },
}
SCSS
$custom: #ab2782;
$custom-light: #c86fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2782",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 318.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.18942,
    "h": 343.7
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#AB2782
secondary
#69C586
accent
#E67542
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2782

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

Preview Lab → · Contrast checker → · Palette generator →

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