#AB3587#AB3587

#AB3587 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.176 H 342.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB3587
RGBrgb(171, 53, 135)
HSLhsl(318, 53%, 44%)
HSVhsv(318, 69%, 67%)
CMYKcmyk(0%, 69%, 21.1%, 32.9%)
CIE-LABlab(42.70, 56.03, -20.01)
CIE-LCHlch(42.70, 59.50, 340.35°)
OKLaboklab(52.93% 0.1679 -0.0536)
OKLCHoklch(52.93% 0.176 342.3)
XYZxyz(22.4416, 12.9556, 24.2358)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3587 #35AB59
analogous
#9435AB #AB3587 #AB354C
triadic
#AB3587 #87AB35 #3587AB
tetradic
#AB3587 #AB9435 #35AB59 #354CAB
square
#AB3587 #AB9435 #35AB59 #354CAB
split-complementary
#AB3587 #4CAB35 #35AB94
monochromatic
#4E183D #7C2762 #AB3587 #CA53A6 #D882BE

Accessibility & contrast

On white

5.85
#AB3587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3587
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3587#FFFFFF#000000##FFFFFF
##AB35871.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#B63659
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3587;
/* rgb */ color: rgb(171, 53, 135);
/* oklch */ color: oklch(52.9% 0.176 342.3);
Tailwind
colors: {
  custom: {
    50: '#c876aa',
    500: '#ab3587',
    950: '#000000',
  },
}
SCSS
$custom: #ab3587;
$custom-light: #c876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3587",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 318.305,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.1763,
    "h": 342.3
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#AB3587
secondary
#7AC290
accent
#DC784C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3587

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

Preview Lab → · Contrast checker → · Palette generator →

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