#AB2D83#AB2D83

#AB2D83 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.184 H 343.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB2D83
RGBrgb(171, 45, 131)
HSLhsl(319, 58%, 42%)
HSVhsv(319, 74%, 67%)
CMYKcmyk(0%, 73.7%, 23.4%, 32.9%)
CIE-LABlab(41.49, 58.39, -19.41)
CIE-LCHlch(41.49, 61.53, 341.61°)
OKLaboklab(51.99% 0.1761 -0.0519)
OKLCHoklch(51.99% 0.184 343.6)
XYZxyz(21.8305, 12.1757, 22.6688)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D83 #2DAB55
analogous
#942DAB #AB2D83 #AB2D44
triadic
#AB2D83 #83AB2D #2D83AB
tetradic
#AB2D83 #AB942D #2DAB55 #2D44AB
square
#AB2D83 #AB942D #2DAB55 #2D44AB
split-complementary
#AB2D83 #44AB2D #2DAB94
monochromatic
#4A1439 #7B205E #AB2D83 #CE47A3 #DB77BB

Accessibility & contrast

On white

6.11
#AB2D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB2D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D83
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D83#FFFFFF#000000##FFFFFF
##AB2D831.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#B62D54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d83;
/* rgb */ color: rgb(171, 45, 131);
/* oklch */ color: oklch(52.0% 0.184 343.6);
Tailwind
colors: {
  custom: {
    50: '#c872a7',
    500: '#ab2d83',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d83;
$custom-light: #c872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d83",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 319.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.18353,
    "h": 343.6
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#AB2D83
secondary
#71C38B
accent
#E27846
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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