#AB2689#AB2689

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

Color values

HEX#AB2689
RGBrgb(171, 38, 137)
HSLhsl(315, 64%, 41%)
HSVhsv(315, 78%, 67%)
CMYKcmyk(0%, 77.8%, 19.9%, 32.9%)
CIE-LABlab(40.98, 61.41, -23.88)
CIE-LCHlch(40.98, 65.89, 338.75°)
OKLaboklab(51.71% 0.1838 -0.0644)
OKLCHoklch(51.71% 0.195 340.7)
XYZxyz(22.0037, 11.8525, 24.7910)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2689 #26AB48
analogous
#8A26AB #AB2689 #AB2647
triadic
#AB2689 #89AB26 #2689AB
tetradic
#AB2689 #AB8A26 #26AB48 #2647AB
square
#AB2689 #AB8A26 #26AB48 #2647AB
split-complementary
#AB2689 #47AB26 #26AB8A
monochromatic
#471039 #791B61 #AB2689 #D33BAC #DF6DC1

Accessibility & contrast

On white

6.23
#AB2689 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2689 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2689
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2689#FFFFFF#000000##FFFFFF
##AB26891.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#B62A55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2689;
/* rgb */ color: rgb(171, 38, 137);
/* oklch */ color: oklch(51.7% 0.195 340.7);
Tailwind
colors: {
  custom: {
    50: '#c86fab',
    500: '#ab2689',
    950: '#000000',
  },
}
SCSS
$custom: #ab2689;
$custom-light: #c86fab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2689",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 315.338,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.19476,
    "h": 340.7
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2689

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

Preview Lab → · Contrast checker → · Palette generator →

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