#AB2684#AB2684

#AB2684 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.192 H 342.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB2684
RGBrgb(171, 38, 132)
HSLhsl(318, 64%, 41%)
HSVhsv(318, 78%, 67%)
CMYKcmyk(0%, 77.8%, 22.8%, 32.9%)
CIE-LABlab(40.76, 60.74, -21.16)
CIE-LCHlch(40.76, 64.32, 340.79°)
OKLaboklab(51.47% 0.1831 -0.0567)
OKLCHoklch(51.47% 0.192 342.8)
XYZxyz(21.6534, 11.7124, 22.9457)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2684 #26AB4D
analogous
#8F26AB #AB2684 #AB2641
triadic
#AB2684 #84AB26 #2684AB
tetradic
#AB2684 #AB8F26 #26AB4D #2641AB
square
#AB2684 #AB8F26 #26AB4D #2641AB
split-complementary
#AB2684 #41AB26 #26AB8F
monochromatic
#471037 #791B5D #AB2684 #D33BA7 #DF6DBD

Accessibility & contrast

On white

6.28
#AB2684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2684
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2684#FFFFFF#000000##FFFFFF
##AB26841.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#B62753
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2684;
/* rgb */ color: rgb(171, 38, 132);
/* oklch */ color: oklch(51.5% 0.192 342.8);
Tailwind
colors: {
  custom: {
    50: '#c86fa8',
    500: '#ab2684',
    950: '#000000',
  },
}
SCSS
$custom: #ab2684;
$custom-light: #c86fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2684",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 317.594,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.19164,
    "h": 342.8
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#AB2684
secondary
#68C583
accent
#E77241
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2684

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

Preview Lab → · Contrast checker → · Palette generator →

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