#AB4783#AB4783

#AB4783 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.148 H 346.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB4783
RGBrgb(171, 71, 131)
HSLhsl(324, 41%, 47%)
HSVhsv(324, 58%, 67%)
CMYKcmyk(0%, 58.5%, 23.4%, 32.9%)
CIE-LABlab(45.37, 47.72, -13.49)
CIE-LCHlch(45.37, 49.59, 344.21°)
OKLaboklab(54.84% 0.1435 -0.0356)
OKLCHoklch(54.84% 0.148 346)
XYZxyz(23.1453, 14.8052, 23.1070)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4783 #47AB6F
analogous
#A147AB #AB4783 #AB4751
triadic
#AB4783 #83AB47 #4783AB
tetradic
#AB4783 #ABA147 #47AB6F #4751AB
square
#AB4783 #ABA147 #47AB6F #4751AB
split-complementary
#AB4783 #51AB47 #47ABA1
monochromatic
#552341 #803562 #AB4783 #C26DA0 #D498BC

Accessibility & contrast

On white

5.30
#AB4783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB4783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4783
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4783#FFFFFF#000000##FFFFFF
##AB47831.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516185
Deuteranopia (green-blind)
#6D7281
Tritanopia (blue-blind)
#B6455F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4783;
/* rgb */ color: rgb(171, 71, 131);
/* oklch */ color: oklch(54.8% 0.148 346.0);
Tailwind
colors: {
  custom: {
    50: '#c77fa7',
    500: '#ab4783',
    950: '#000000',
  },
}
SCSS
$custom: #ab4783;
$custom-light: #c77fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4783",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 324,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.14781,
    "h": 346
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#AB4783
secondary
#8DC0A2
accent
#D18857
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4783

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

Preview Lab → · Contrast checker → · Palette generator →

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