#AB2C83#AB2C83

#AB2C83 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.185 H 343.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB2C83
RGBrgb(171, 44, 131)
HSLhsl(319, 59%, 42%)
HSVhsv(319, 74%, 67%)
CMYKcmyk(0%, 74.3%, 23.4%, 32.9%)
CIE-LABlab(41.38, 58.72, -19.59)
CIE-LCHlch(41.38, 61.90, 341.55°)
OKLaboklab(51.91% 0.1771 -0.0524)
OKLCHoklch(51.91% 0.185 343.5)
XYZxyz(21.7928, 12.1003, 22.6562)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C83 #2CAB54
analogous
#942CAB #AB2C83 #AB2C43
triadic
#AB2C83 #83AB2C #2C83AB
tetradic
#AB2C83 #AB942C #2CAB54 #2C43AB
square
#AB2C83 #AB942C #2CAB54 #2C43AB
split-complementary
#AB2C83 #43AB2C #2CAB94
monochromatic
#4A1338 #7A1F5E #AB2C83 #CF45A4 #DC76BC

Accessibility & contrast

On white

6.14
#AB2C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C83
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C83#FFFFFF#000000##FFFFFF
##AB2C831.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c83;
/* rgb */ color: rgb(171, 44, 131);
/* oklch */ color: oklch(51.9% 0.185 343.5);
Tailwind
colors: {
  custom: {
    50: '#c872a7',
    500: '#ab2c83',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c83;
$custom-light: #c872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c83",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 318.898,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.18466,
    "h": 343.5
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#AB2C83
secondary
#6FC38A
accent
#E27746
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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