#AB3986#AB3986

#AB3986 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.170 H 343.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB3986
RGBrgb(171, 57, 134)
HSLhsl(319, 50%, 45%)
HSVhsv(319, 67%, 67%)
CMYKcmyk(0%, 66.7%, 21.6%, 32.9%)
CIE-LABlab(43.22, 54.31, -18.59)
CIE-LCHlch(43.22, 57.41, 341.11°)
OKLaboklab(53.3% 0.1629 -0.0497)
OKLCHoklch(53.3% 0.17 343)
XYZxyz(22.5615, 13.3076, 23.9300)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3986 #39AB5E
analogous
#9739AB #AB3986 #AB394D
triadic
#AB3986 #86AB39 #3986AB
tetradic
#AB3986 #AB9739 #39AB5E #394DAB
square
#AB3986 #AB9739 #39AB5E #394DAB
split-complementary
#AB3986 #4DAB39 #39AB97
monochromatic
#4F1A3E #7D2A62 #AB3986 #C859A4 #D787BD

Accessibility & contrast

On white

5.74
#AB3986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB3986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3986
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3986#FFFFFF#000000##FFFFFF
##AB39861.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A88
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#B6395A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3986;
/* rgb */ color: rgb(171, 57, 134);
/* oklch */ color: oklch(53.3% 0.170 343.0);
Tailwind
colors: {
  custom: {
    50: '#c778a9',
    500: '#ab3986',
    950: '#000000',
  },
}
SCSS
$custom: #ab3986;
$custom-light: #c778a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3986",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 319.474,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.17033,
    "h": 343
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#AB3986
secondary
#7FC194
accent
#DA7B4E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3986

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

Preview Lab → · Contrast checker → · Palette generator →

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