#AB4785#AB4785

#AB4785 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.149 H 345.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB4785
RGBrgb(171, 71, 133)
HSLhsl(323, 41%, 47%)
HSVhsv(323, 58%, 67%)
CMYKcmyk(0%, 58.5%, 22.2%, 32.9%)
CIE-LABlab(45.44, 48.01, -14.59)
CIE-LCHlch(45.44, 50.18, 343.10°)
OKLaboklab(54.92% 0.144 -0.0387)
OKLCHoklch(54.92% 0.149 345)
XYZxyz(23.2821, 14.8599, 23.8278)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4785 #47AB6D
analogous
#9F47AB #AB4785 #AB4753
triadic
#AB4785 #85AB47 #4785AB
tetradic
#AB4785 #AB9F47 #47AB6D #4753AB
square
#AB4785 #AB9F47 #47AB6D #4753AB
split-complementary
#AB4785 #53AB47 #47AB9F
monochromatic
#552342 #803563 #AB4785 #C26DA2 #D498BD

Accessibility & contrast

On white

5.29
#AB4785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB4785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4785
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4785#FFFFFF#000000##FFFFFF
##AB47851.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506187
Deuteranopia (green-blind)
#6C7283
Tritanopia (blue-blind)
#B54660
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4785;
/* rgb */ color: rgb(171, 71, 133);
/* oklch */ color: oklch(54.9% 0.149 345.0);
Tailwind
colors: {
  custom: {
    50: '#c77fa8',
    500: '#ab4785',
    950: '#000000',
  },
}
SCSS
$custom: #ab4785;
$custom-light: #c77fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4785",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 322.8,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.14908,
    "h": 345
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#AB4785
secondary
#8DC0A1
accent
#D18557
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4785

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

Preview Lab → · Contrast checker → · Palette generator →

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