#AB2688#AB2688

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

Color values

HEX#AB2688
RGBrgb(171, 38, 136)
HSLhsl(316, 64%, 41%)
HSVhsv(316, 78%, 67%)
CMYKcmyk(0%, 77.8%, 20.5%, 32.9%)
CIE-LABlab(40.94, 61.27, -23.34)
CIE-LCHlch(40.94, 65.57, 339.15°)
OKLaboklab(51.66% 0.1837 -0.0629)
OKLCHoklch(51.66% 0.194 341.1)
XYZxyz(21.9323, 11.8240, 24.4150)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2688 #26AB49
analogous
#8B26AB #AB2688 #AB2646
triadic
#AB2688 #88AB26 #2688AB
tetradic
#AB2688 #AB8B26 #26AB49 #2646AB
square
#AB2688 #AB8B26 #26AB49 #2646AB
split-complementary
#AB2688 #46AB26 #26AB8B
monochromatic
#471038 #791B60 #AB2688 #D33BAB #DF6DC1

Accessibility & contrast

On white

6.24
#AB2688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2688
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2688#FFFFFF#000000##FFFFFF
##AB26881.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B62955
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2688;
/* rgb */ color: rgb(171, 38, 136);
/* oklch */ color: oklch(51.7% 0.194 341.1);
Tailwind
colors: {
  custom: {
    50: '#c86fab',
    500: '#ab2688',
    950: '#000000',
  },
}
SCSS
$custom: #ab2688;
$custom-light: #c86fab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2688",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 315.789,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.19413,
    "h": 341.1
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#AB2688
secondary
#68C580
accent
#E76D41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2688

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

Preview Lab → · Contrast checker → · Palette generator →

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