#AB2991#AB2991

#AB2991 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 337.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB2991
RGBrgb(171, 41, 145)
HSLhsl(312, 61%, 42%)
HSVhsv(312, 76%, 67%)
CMYKcmyk(0%, 76%, 15.2%, 32.9%)
CIE-LABlab(41.67, 61.62, -27.68)
CIE-LCHlch(41.67, 67.55, 335.81°)
OKLaboklab(52.33% 0.182 -0.0752)
OKLCHoklch(52.33% 0.197 337.5)
XYZxyz(22.6988, 12.2903, 27.9594)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2991 #29AB43
analogous
#8429AB #AB2991 #AB2950
triadic
#AB2991 #91AB29 #2991AB
tetradic
#AB2991 #AB8429 #29AB43 #2950AB
square
#AB2991 #AB8429 #29AB43 #2950AB
split-complementary
#AB2991 #50AB29 #29AB84
monochromatic
#48113D #7A1D67 #AB2991 #D140B4 #DD71C8

Accessibility & contrast

On white

6.07
#AB2991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB2991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2991
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2991#FFFFFF#000000##FFFFFF
##AB29911.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5694
Deuteranopia (green-blind)
#5B698E
Tritanopia (blue-blind)
#B4315A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2991;
/* rgb */ color: rgb(171, 41, 145);
/* oklch */ color: oklch(52.3% 0.197 337.5);
Tailwind
colors: {
  custom: {
    50: '#c871b1',
    500: '#ab2991',
    950: '#000000',
  },
}
SCSS
$custom: #ab2991;
$custom-light: #c871b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2991",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 312,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.19698,
    "h": 337.5
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#AB2991
secondary
#6CC47D
accent
#E46443
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2991

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

Preview Lab → · Contrast checker → · Palette generator →

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