#AB2B82#AB2B82

#AB2B82 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.185 H 343.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB2B82
RGBrgb(171, 43, 130)
HSLhsl(319, 60%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 74.9%, 24%, 32.9%)
CIE-LABlab(41.22, 58.92, -19.22)
CIE-LCHlch(41.22, 61.98, 341.93°)
OKLaboklab(51.78% 0.1779 -0.0513)
OKLCHoklch(51.78% 0.185 343.9)
XYZxyz(21.6886, 11.9997, 22.2887)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B82 #2BAB54
analogous
#942BAB #AB2B82 #AB2B42
triadic
#AB2B82 #82AB2B #2B82AB
tetradic
#AB2B82 #AB942B #2BAB54 #2B42AB
square
#AB2B82 #AB942B #2BAB54 #2B42AB
split-complementary
#AB2B82 #42AB2B #2BAB94
monochromatic
#491238 #7A1F5D #AB2B82 #D043A3 #DC74BB

Accessibility & contrast

On white

6.18
#AB2B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B82
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B82#FFFFFF#000000##FFFFFF
##AB2B821.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#B62A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2b82;
/* rgb */ color: rgb(171, 43, 130);
/* oklch */ color: oklch(51.8% 0.185 343.9);
Tailwind
colors: {
  custom: {
    50: '#c871a6',
    500: '#ab2b82',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b82;
$custom-light: #c871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b82",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 319.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.18517,
    "h": 343.9
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#AB2B82
secondary
#6EC48A
accent
#E37745
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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