#AB3786#AB3786

#AB3786 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.173 H 342.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB3786
RGBrgb(171, 55, 134)
HSLhsl(319, 51%, 44%)
HSVhsv(319, 68%, 67%)
CMYKcmyk(0%, 67.8%, 21.6%, 32.9%)
CIE-LABlab(42.93, 55.12, -19.03)
CIE-LCHlch(42.93, 58.31, 340.95°)
OKLaboklab(53.09% 0.1654 -0.0509)
OKLCHoklch(53.09% 0.173 342.9)
XYZxyz(22.4646, 13.1137, 23.8977)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3786 #37AB5C
analogous
#9637AB #AB3786 #AB374C
triadic
#AB3786 #86AB37 #3786AB
tetradic
#AB3786 #AB9637 #37AB5C #374CAB
square
#AB3786 #AB9637 #37AB5C #374CAB
split-complementary
#AB3786 #4CAB37 #37AB96
monochromatic
#4E193D #7D2862 #AB3786 #C956A4 #D885BD

Accessibility & contrast

On white

5.80
#AB3786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB3786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3786
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3786#FFFFFF#000000##FFFFFF
##AB37861.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#646C83
Tritanopia (blue-blind)
#B63759
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3786;
/* rgb */ color: rgb(171, 55, 134);
/* oklch */ color: oklch(53.1% 0.173 342.9);
Tailwind
colors: {
  custom: {
    50: '#c777a9',
    500: '#ab3786',
    950: '#000000',
  },
}
SCSS
$custom: #ab3786;
$custom-light: #c777a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3786",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 319.138,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.17302,
    "h": 342.9
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#AB3786
secondary
#7CC192
accent
#DB7A4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3786

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

Preview Lab → · Contrast checker → · Palette generator →

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