#AB2783#AB2783

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

Color values

HEX#AB2783
RGBrgb(171, 39, 131)
HSLhsl(318, 63%, 41%)
HSVhsv(318, 77%, 67%)
CMYKcmyk(0%, 77.2%, 23.4%, 32.9%)
CIE-LABlab(40.82, 60.31, -20.45)
CIE-LCHlch(40.82, 63.68, 341.27°)
OKLaboklab(51.5% 0.182 -0.0548)
OKLCHoklch(51.5% 0.19 343.3)
XYZxyz(21.6177, 11.7500, 22.5978)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2783 #27AB4F
analogous
#9127AB #AB2783 #AB2741
triadic
#AB2783 #83AB27 #2783AB
tetradic
#AB2783 #AB9127 #27AB4F #2741AB
square
#AB2783 #AB9127 #27AB4F #2741AB
split-complementary
#AB2783 #41AB27 #27AB91
monochromatic
#471037 #791C5D #AB2783 #D33DA5 #DE6EBC

Accessibility & contrast

On white

6.27
#AB2783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2783
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2783#FFFFFF#000000##FFFFFF
##AB27831.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#B62752
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2783;
/* rgb */ color: rgb(171, 39, 131);
/* oklch */ color: oklch(51.5% 0.190 343.3);
Tailwind
colors: {
  custom: {
    50: '#c86fa7',
    500: '#ab2783',
    950: '#000000',
  },
}
SCSS
$custom: #ab2783;
$custom-light: #c86fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2783",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 318.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.19003,
    "h": 343.3
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#AB2783
secondary
#69C585
accent
#E67442
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2783

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

Preview Lab → · Contrast checker → · Palette generator →

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