#AB2687#AB2687

#AB2687 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 341.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB2687
RGBrgb(171, 38, 135)
HSLhsl(316, 64%, 41%)
HSVhsv(316, 78%, 67%)
CMYKcmyk(0%, 77.8%, 21.1%, 32.9%)
CIE-LABlab(40.89, 61.14, -22.80)
CIE-LCHlch(40.89, 65.25, 339.55°)
OKLaboklab(51.61% 0.1835 -0.0613)
OKLCHoklch(51.61% 0.194 341.5)
XYZxyz(21.8616, 11.7957, 24.0425)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2687 #26AB4A
analogous
#8C26AB #AB2687 #AB2644
triadic
#AB2687 #87AB26 #2687AB
tetradic
#AB2687 #AB8C26 #26AB4A #2644AB
square
#AB2687 #AB8C26 #26AB4A #2644AB
split-complementary
#AB2687 #44AB26 #26AB8C
monochromatic
#471038 #791B5F #AB2687 #D33BAA #DF6DC0

Accessibility & contrast

On white

6.25
#AB2687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2687
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2687#FFFFFF#000000##FFFFFF
##AB26871.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#B62954
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2687;
/* rgb */ color: rgb(171, 38, 135);
/* oklch */ color: oklch(51.6% 0.194 341.5);
Tailwind
colors: {
  custom: {
    50: '#c86faa',
    500: '#ab2687',
    950: '#000000',
  },
}
SCSS
$custom: #ab2687;
$custom-light: #c86faa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2687",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 316.241,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.1935,
    "h": 341.5
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#AB2687
secondary
#68C581
accent
#E76E41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2687

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

Preview Lab → · Contrast checker → · Palette generator →

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