#AB2983#AB2983

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

Color values

HEX#AB2983
RGBrgb(171, 41, 131)
HSLhsl(318, 61%, 42%)
HSVhsv(318, 76%, 67%)
CMYKcmyk(0%, 76%, 23.4%, 32.9%)
CIE-LABlab(41.03, 59.69, -20.12)
CIE-LCHlch(41.03, 62.99, 341.37°)
OKLaboklab(51.66% 0.1801 -0.0538)
OKLCHoklch(51.66% 0.188 343.4)
XYZxyz(21.6851, 11.8848, 22.6203)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2983 #29AB51
analogous
#9229AB #AB2983 #AB2942
triadic
#AB2983 #83AB29 #2983AB
tetradic
#AB2983 #AB9229 #29AB51 #2942AB
square
#AB2983 #AB9229 #29AB51 #2942AB
split-complementary
#AB2983 #42AB29 #29AB92
monochromatic
#481137 #7A1D5D #AB2983 #D140A5 #DD71BC

Accessibility & contrast

On white

6.22
#AB2983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2983
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2983#FFFFFF#000000##FFFFFF
##AB29831.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#606880
Tritanopia (blue-blind)
#B62953
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2983;
/* rgb */ color: rgb(171, 41, 131);
/* oklch */ color: oklch(51.7% 0.188 343.4);
Tailwind
colors: {
  custom: {
    50: '#c870a7',
    500: '#ab2983',
    950: '#000000',
  },
}
SCSS
$custom: #ab2983;
$custom-light: #c870a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2983",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 318.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.18794,
    "h": 343.4
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AB2983
secondary
#6CC487
accent
#E47543
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2983

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

Preview Lab → · Contrast checker → · Palette generator →

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