#AB2988#AB2988

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

Color values

HEX#AB2988
RGBrgb(171, 41, 136)
HSLhsl(316, 61%, 42%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 76%, 20.5%, 32.9%)
CIE-LABlab(41.25, 60.36, -22.85)
CIE-LCHlch(41.25, 64.54, 339.27°)
OKLaboklab(51.89% 0.1809 -0.0615)
OKLCHoklch(51.89% 0.191 341.2)
XYZxyz(22.0322, 12.0236, 24.4483)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2988 #29AB4C
analogous
#8D29AB #AB2988 #AB2947
triadic
#AB2988 #88AB29 #2988AB
tetradic
#AB2988 #AB8D29 #29AB4C #2947AB
square
#AB2988 #AB8D29 #29AB4C #2947AB
split-complementary
#AB2988 #47AB29 #29AB8D
monochromatic
#481139 #7A1D61 #AB2988 #D140AA #DD71C0

Accessibility & contrast

On white

6.17
#AB2988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2988
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2988#FFFFFF#000000##FFFFFF
##AB29881.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5E6985
Tritanopia (blue-blind)
#B62C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2988;
/* rgb */ color: rgb(171, 41, 136);
/* oklch */ color: oklch(51.9% 0.191 341.2);
Tailwind
colors: {
  custom: {
    50: '#c870ab',
    500: '#ab2988',
    950: '#000000',
  },
}
SCSS
$custom: #ab2988;
$custom-light: #c870ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2988",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 316.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.19106,
    "h": 341.2
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#AB2988
secondary
#6CC483
accent
#E46F43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2988

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

Preview Lab → · Contrast checker → · Palette generator →

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