#AB2B86#AB2B86

#AB2B86 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.188 H 342.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB2B86
RGBrgb(171, 43, 134)
HSLhsl(317, 60%, 42%)
HSVhsv(317, 75%, 67%)
CMYKcmyk(0%, 74.9%, 21.6%, 32.9%)
CIE-LABlab(41.39, 59.45, -21.41)
CIE-LCHlch(41.39, 63.19, 340.19°)
OKLaboklab(51.96% 0.1786 -0.0575)
OKLCHoklch(51.96% 0.188 342.2)
XYZxyz(21.9623, 12.1092, 23.7303)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B86 #2BAB50
analogous
#902BAB #AB2B86 #AB2B46
triadic
#AB2B86 #86AB2B #2B86AB
tetradic
#AB2B86 #AB902B #2BAB50 #2B46AB
square
#AB2B86 #AB902B #2BAB50 #2B46AB
split-complementary
#AB2B86 #46AB2B #2BAB90
monochromatic
#491239 #7A1F60 #AB2B86 #D043A7 #DC74BE

Accessibility & contrast

On white

6.14
#AB2B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B86
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B86#FFFFFF#000000##FFFFFF
##AB2B861.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#606983
Tritanopia (blue-blind)
#B62D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2b86;
/* rgb */ color: rgb(171, 43, 134);
/* oklch */ color: oklch(52.0% 0.188 342.2);
Tailwind
colors: {
  custom: {
    50: '#c871a9',
    500: '#ab2b86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b86;
$custom-light: #c871a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b86",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 317.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.18764,
    "h": 342.2
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#AB2B86
secondary
#6EC487
accent
#E37345
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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