#AB3282#AB3282

#AB3282 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.177 H 344.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3282
RGBrgb(171, 50, 130)
HSLhsl(320, 55%, 43%)
HSVhsv(320, 71%, 67%)
CMYKcmyk(0%, 70.8%, 24%, 32.9%)
CIE-LABlab(42.08, 56.48, -17.89)
CIE-LCHlch(42.08, 59.25, 342.42°)
OKLaboklab(52.41% 0.1704 -0.0477)
OKLCHoklch(52.41% 0.177 344.4)
XYZxyz(21.9653, 12.5531, 22.3810)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3282 #32AB5B
analogous
#9732AB #AB3282 #AB3245
triadic
#AB3282 #82AB32 #3282AB
tetradic
#AB3282 #AB9732 #32AB5B #3245AB
square
#AB3282 #AB9732 #32AB5B #3245AB
split-complementary
#AB3282 #45AB32 #32AB97
monochromatic
#4C163A #7C245E #AB3282 #CB4FA1 #D97EBA

Accessibility & contrast

On white

5.98
#AB3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3282
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3282#FFFFFF#000000##FFFFFF
##AB32821.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#B63155
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3282;
/* rgb */ color: rgb(171, 50, 130);
/* oklch */ color: oklch(52.4% 0.177 344.4);
Tailwind
colors: {
  custom: {
    50: '#c874a6',
    500: '#ab3282',
    950: '#000000',
  },
}
SCSS
$custom: #ab3282;
$custom-light: #c874a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3282",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 320.331,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.17694,
    "h": 344.4
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#AB3282
secondary
#77C290
accent
#DE7C4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3282

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

Preview Lab → · Contrast checker → · Palette generator →

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