#AB2D86#AB2D86

#AB2D86 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.185 H 342.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB2D86
RGBrgb(171, 45, 134)
HSLhsl(318, 58%, 42%)
HSVhsv(318, 74%, 67%)
CMYKcmyk(0%, 73.7%, 21.6%, 32.9%)
CIE-LABlab(41.62, 58.79, -21.05)
CIE-LCHlch(41.62, 62.44, 340.30°)
OKLaboklab(52.13% 0.1766 -0.0565)
OKLCHoklch(52.13% 0.185 342.3)
XYZxyz(22.0368, 12.2582, 23.7551)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D86 #2DAB52
analogous
#912DAB #AB2D86 #AB2D47
triadic
#AB2D86 #86AB2D #2D86AB
tetradic
#AB2D86 #AB912D #2DAB52 #2D47AB
square
#AB2D86 #AB912D #2DAB52 #2D47AB
split-complementary
#AB2D86 #47AB2D #2DAB91
monochromatic
#4A143A #7B2060 #AB2D86 #CE47A7 #DB77BE

Accessibility & contrast

On white

6.08
#AB2D86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2D86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D86
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D86#FFFFFF#000000##FFFFFF
##AB2D861.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395588
Deuteranopia (green-blind)
#606A83
Tritanopia (blue-blind)
#B62E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d86;
/* rgb */ color: rgb(171, 45, 134);
/* oklch */ color: oklch(52.1% 0.185 342.3);
Tailwind
colors: {
  custom: {
    50: '#c872a9',
    500: '#ab2d86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d86;
$custom-light: #c872a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d86",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 317.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.1854,
    "h": 342.3
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#AB2D86
secondary
#71C389
accent
#E27446
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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