#AB2686#AB2686

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

Color values

HEX#AB2686
RGBrgb(171, 38, 134)
HSLhsl(317, 64%, 41%)
HSVhsv(317, 78%, 67%)
CMYKcmyk(0%, 77.8%, 21.6%, 32.9%)
CIE-LABlab(40.84, 61.00, -22.25)
CIE-LCHlch(40.84, 64.94, 339.96°)
OKLaboklab(51.57% 0.1834 -0.0598)
OKLCHoklch(51.57% 0.193 341.9)
XYZxyz(21.7915, 11.7677, 23.6734)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2686 #26AB4B
analogous
#8D26AB #AB2686 #AB2643
triadic
#AB2686 #86AB26 #2686AB
tetradic
#AB2686 #AB8D26 #26AB4B #2643AB
square
#AB2686 #AB8D26 #26AB4B #2643AB
split-complementary
#AB2686 #43AB26 #26AB8D
monochromatic
#471038 #791B5F #AB2686 #D33BA9 #DF6DBF

Accessibility & contrast

On white

6.26
#AB2686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2686
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2686#FFFFFF#000000##FFFFFF
##AB26861.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#5E6883
Tritanopia (blue-blind)
#B62854
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2686;
/* rgb */ color: rgb(171, 38, 134);
/* oklch */ color: oklch(51.6% 0.193 341.9);
Tailwind
colors: {
  custom: {
    50: '#c86fa9',
    500: '#ab2686',
    950: '#000000',
  },
}
SCSS
$custom: #ab2686;
$custom-light: #c86fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2686",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 316.692,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.19288,
    "h": 341.9
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#AB2686
secondary
#68C582
accent
#E76F41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2686

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

Preview Lab → · Contrast checker → · Palette generator →

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