#AB2986#AB2986

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

Color values

HEX#AB2986
RGBrgb(171, 41, 134)
HSLhsl(317, 61%, 42%)
HSVhsv(317, 76%, 67%)
CMYKcmyk(0%, 76%, 21.6%, 32.9%)
CIE-LABlab(41.16, 60.09, -21.76)
CIE-LCHlch(41.16, 63.91, 340.09°)
OKLaboklab(51.8% 0.1806 -0.0584)
OKLCHoklch(51.8% 0.19 342.1)
XYZxyz(21.8914, 11.9673, 23.7067)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2986 #29AB4E
analogous
#8F29AB #AB2986 #AB2945
triadic
#AB2986 #86AB29 #2986AB
tetradic
#AB2986 #AB8F29 #29AB4E #2945AB
square
#AB2986 #AB8F29 #29AB4E #2945AB
split-complementary
#AB2986 #45AB29 #29AB8F
monochromatic
#481139 #7A1D5F #AB2986 #D140A8 #DD71BE

Accessibility & contrast

On white

6.19
#AB2986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2986
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2986#FFFFFF#000000##FFFFFF
##AB29861.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2986;
/* rgb */ color: rgb(171, 41, 134);
/* oklch */ color: oklch(51.8% 0.190 342.1);
Tailwind
colors: {
  custom: {
    50: '#c870a9',
    500: '#ab2986',
    950: '#000000',
  },
}
SCSS
$custom: #ab2986;
$custom-light: #c870a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2986",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 317.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.1898,
    "h": 342.1
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#AB2986
secondary
#6CC485
accent
#E47143
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2986

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

Preview Lab → · Contrast checker → · Palette generator →

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