#AB3E87#AB3E87

#AB3E87 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.164 H 343.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB3E87
RGBrgb(171, 62, 135)
HSLhsl(320, 47%, 46%)
HSVhsv(320, 64%, 67%)
CMYKcmyk(0%, 63.7%, 21.1%, 32.9%)
CIE-LABlab(44.02, 52.36, -17.97)
CIE-LCHlch(44.02, 55.36, 341.06°)
OKLaboklab(53.9% 0.1568 -0.048)
OKLCHoklch(53.9% 0.164 343)
XYZxyz(22.8911, 13.8546, 24.3856)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E87 #3EAB62
analogous
#983EAB #AB3E87 #AB3E50
triadic
#AB3E87 #87AB3E #3E87AB
tetradic
#AB3E87 #AB983E #3EAB62 #3E50AB
square
#AB3E87 #AB983E #3EAB62 #3E50AB
split-complementary
#AB3E87 #50AB3E #3EAB98
monochromatic
#511D40 #7E2E64 #AB3E87 #C661A4 #D68EBE

Accessibility & contrast

On white

5.57
#AB3E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB3E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E87
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E87#FFFFFF#000000##FFFFFF
##AB3E871.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#B53E5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3e87;
/* rgb */ color: rgb(171, 62, 135);
/* oklch */ color: oklch(53.9% 0.164 343.0);
Tailwind
colors: {
  custom: {
    50: '#c77aaa',
    500: '#ab3e87',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e87;
$custom-light: #c77aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e87",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 319.817,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.16396,
    "h": 343
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#AB3E87
secondary
#84C198
accent
#D67D51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3E87

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

Preview Lab → · Contrast checker → · Palette generator →

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