#AB2984#AB2984

#AB2984 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.189 H 342.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB2984
RGBrgb(171, 41, 132)
HSLhsl(318, 61%, 42%)
HSVhsv(318, 76%, 67%)
CMYKcmyk(0%, 76%, 22.8%, 32.9%)
CIE-LABlab(41.08, 59.83, -20.67)
CIE-LCHlch(41.08, 63.30, 340.94°)
OKLaboklab(51.71% 0.1802 -0.0554)
OKLCHoklch(51.71% 0.189 342.9)
XYZxyz(21.7532, 11.9120, 22.9790)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2984 #29AB50
analogous
#9129AB #AB2984 #AB2943
triadic
#AB2984 #84AB29 #2984AB
tetradic
#AB2984 #AB9129 #29AB50 #2943AB
square
#AB2984 #AB9129 #29AB50 #2943AB
split-complementary
#AB2984 #43AB29 #29AB91
monochromatic
#481138 #7A1D5E #AB2984 #D140A6 #DD71BD

Accessibility & contrast

On white

6.21
#AB2984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2984 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2984
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2984#FFFFFF#000000##FFFFFF
##AB29841.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#606981
Tritanopia (blue-blind)
#B62A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2984;
/* rgb */ color: rgb(171, 41, 132);
/* oklch */ color: oklch(51.7% 0.189 342.9);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2984',
    950: '#000000',
  },
}
SCSS
$custom: #ab2984;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2984",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 318,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.18855,
    "h": 342.9
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#AB2984
secondary
#6CC486
accent
#E47443
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2984

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

Preview Lab → · Contrast checker → · Palette generator →

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