#AB2682#AB2682

#AB2682 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.190 H 343.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2682
RGBrgb(171, 38, 130)
HSLhsl(318, 64%, 41%)
HSVhsv(318, 78%, 67%)
CMYKcmyk(0%, 77.8%, 24%, 32.9%)
CIE-LABlab(40.67, 60.48, -20.07)
CIE-LCHlch(40.67, 63.72, 341.64°)
OKLaboklab(51.38% 0.1827 -0.0537)
OKLCHoklch(51.38% 0.19 343.6)
XYZxyz(21.5178, 11.6582, 22.2318)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2682 #26AB4F
analogous
#9126AB #AB2682 #AB2640
triadic
#AB2682 #82AB26 #2682AB
tetradic
#AB2682 #AB9126 #26AB4F #2640AB
square
#AB2682 #AB9126 #26AB4F #2640AB
split-complementary
#AB2682 #40AB26 #26AB91
monochromatic
#471036 #791B5C #AB2682 #D33BA4 #DF6DBB

Accessibility & contrast

On white

6.30
#AB2682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2682
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2682#FFFFFF#000000##FFFFFF
##AB26821.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#5F687F
Tritanopia (blue-blind)
#B62651
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2682;
/* rgb */ color: rgb(171, 38, 130);
/* oklch */ color: oklch(51.4% 0.190 343.6);
Tailwind
colors: {
  custom: {
    50: '#c86fa6',
    500: '#ab2682',
    950: '#000000',
  },
}
SCSS
$custom: #ab2682;
$custom-light: #c86fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2682",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 318.496,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.19044,
    "h": 343.6
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#AB2682
secondary
#68C585
accent
#E77441
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2682

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

Preview Lab → · Contrast checker → · Palette generator →

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