#AB2883#AB2883

#AB2883 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.189 H 343.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2883
RGBrgb(171, 40, 131)
HSLhsl(318, 62%, 41%)
HSVhsv(318, 77%, 67%)
CMYKcmyk(0%, 76.6%, 23.4%, 32.9%)
CIE-LABlab(40.92, 60.00, -20.29)
CIE-LCHlch(40.92, 63.34, 341.32°)
OKLaboklab(51.58% 0.181 -0.0543)
OKLCHoklch(51.58% 0.189 343.3)
XYZxyz(21.6509, 11.8165, 22.6089)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2883 #28AB50
analogous
#9228AB #AB2883 #AB2842
triadic
#AB2883 #83AB28 #2883AB
tetradic
#AB2883 #AB9228 #28AB50 #2842AB
square
#AB2883 #AB9228 #28AB50 #2842AB
split-complementary
#AB2883 #42AB28 #28AB92
monochromatic
#481137 #791C5D #AB2883 #D23EA5 #DE70BC

Accessibility & contrast

On white

6.24
#AB2883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2883
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2883#FFFFFF#000000##FFFFFF
##AB28831.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2883;
/* rgb */ color: rgb(171, 40, 131);
/* oklch */ color: oklch(51.6% 0.189 343.3);
Tailwind
colors: {
  custom: {
    50: '#c870a7',
    500: '#ab2883',
    950: '#000000',
  },
}
SCSS
$custom: #ab2883;
$custom-light: #c870a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2883",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 318.321,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.189,
    "h": 343.3
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#AB2883
secondary
#6AC486
accent
#E57443
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2883

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

Preview Lab → · Contrast checker → · Palette generator →

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