#AB2681#AB2681

#AB2681 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.190 H 344.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB2681
RGBrgb(171, 38, 129)
HSLhsl(319, 64%, 41%)
HSVhsv(319, 78%, 67%)
CMYKcmyk(0%, 77.8%, 24.6%, 32.9%)
CIE-LABlab(40.62, 60.35, -19.52)
CIE-LCHlch(40.62, 63.43, 342.08°)
OKLaboklab(51.33% 0.1825 -0.0521)
OKLCHoklch(51.33% 0.19 344.1)
XYZxyz(21.4510, 11.6315, 21.8800)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2681 #26AB50
analogous
#9226AB #AB2681 #AB263F
triadic
#AB2681 #81AB26 #2681AB
tetradic
#AB2681 #AB9226 #26AB50 #263FAB
square
#AB2681 #AB9226 #26AB50 #263FAB
split-complementary
#AB2681 #3FAB26 #26AB92
monochromatic
#471035 #791B5B #AB2681 #D33BA3 #DF6DBB

Accessibility & contrast

On white

6.31
#AB2681 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2681
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2681#FFFFFF#000000##FFFFFF
##AB26811.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365283
Deuteranopia (green-blind)
#60687E
Tritanopia (blue-blind)
#B62551
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2681;
/* rgb */ color: rgb(171, 38, 129);
/* oklch */ color: oklch(51.3% 0.190 344.1);
Tailwind
colors: {
  custom: {
    50: '#c86fa5',
    500: '#ab2681',
    950: '#000000',
  },
}
SCSS
$custom: #ab2681;
$custom-light: #c86fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2681",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 318.947,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.18984,
    "h": 344.1
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2681

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

Preview Lab → · Contrast checker → · Palette generator →

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