#AB2A86#AB2A86

#AB2A86 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.189 H 342.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB2A86
RGBrgb(171, 42, 134)
HSLhsl(317, 61%, 42%)
HSVhsv(317, 75%, 67%)
CMYKcmyk(0%, 75.4%, 21.6%, 32.9%)
CIE-LABlab(41.28, 59.78, -21.59)
CIE-LCHlch(41.28, 63.55, 340.14°)
OKLaboklab(51.88% 0.1796 -0.058)
OKLCHoklch(51.88% 0.189 342.1)
XYZxyz(21.9264, 12.0373, 23.7183)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A86 #2AAB4F
analogous
#902AAB #AB2A86 #AB2A46
triadic
#AB2A86 #86AB2A #2A86AB
tetradic
#AB2A86 #AB902A #2AAB4F #2A46AB
square
#AB2A86 #AB902A #2AAB4F #2A46AB
split-complementary
#AB2A86 #46AB2A #2AAB90
monochromatic
#491239 #7A1E5F #AB2A86 #D142A8 #DD73BE

Accessibility & contrast

On white

6.16
#AB2A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB2A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A86
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A86#FFFFFF#000000##FFFFFF
##AB2A861.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#5F6983
Tritanopia (blue-blind)
#B62C55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2a86;
/* rgb */ color: rgb(171, 42, 134);
/* oklch */ color: oklch(51.9% 0.189 342.1);
Tailwind
colors: {
  custom: {
    50: '#c871a9',
    500: '#ab2a86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a86;
$custom-light: #c871a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a86",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 317.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.18873,
    "h": 342.1
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#AB2A86
secondary
#6DC486
accent
#E47244
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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