#AB2989#AB2989

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

Color values

HEX#AB2989
RGBrgb(171, 41, 137)
HSLhsl(316, 61%, 42%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 76%, 19.9%, 32.9%)
CIE-LABlab(41.30, 60.50, -23.39)
CIE-LCHlch(41.30, 64.86, 338.86°)
OKLaboklab(51.94% 0.181 -0.063)
OKLCHoklch(51.94% 0.192 340.8)
XYZxyz(22.1036, 12.0522, 24.8243)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2989 #29AB4B
analogous
#8C29AB #AB2989 #AB2948
triadic
#AB2989 #89AB29 #2989AB
tetradic
#AB2989 #AB8C29 #29AB4B #2948AB
square
#AB2989 #AB8C29 #29AB4B #2948AB
split-complementary
#AB2989 #48AB29 #29AB8C
monochromatic
#48113A #7A1D61 #AB2989 #D140AB #DD71C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2989#FFFFFF#000000##FFFFFF
##AB29891.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)
#34548C
Deuteranopia (green-blind)
#5E6986
Tritanopia (blue-blind)
#B52C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2989;
/* rgb */ color: rgb(171, 41, 137);
/* oklch */ color: oklch(51.9% 0.192 340.8);
Tailwind
colors: {
  custom: {
    50: '#c870ab',
    500: '#ab2989',
    950: '#000000',
  },
}
SCSS
$custom: #ab2989;
$custom-light: #c870ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2989",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 315.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.1917,
    "h": 340.8
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2989

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

Preview Lab → · Contrast checker → · Palette generator →

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