#AB3281#AB3281

#AB3281 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.176 H 344.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3281
RGBrgb(171, 50, 129)
HSLhsl(321, 55%, 43%)
HSVhsv(321, 71%, 67%)
CMYKcmyk(0%, 70.8%, 24.6%, 32.9%)
CIE-LABlab(42.04, 56.35, -17.34)
CIE-LCHlch(42.04, 58.95, 342.89°)
OKLaboklab(52.36% 0.1702 -0.0461)
OKLCHoklch(52.36% 0.176 344.8)
XYZxyz(21.8985, 12.5264, 22.0292)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3281 #32AB5C
analogous
#9832AB #AB3281 #AB3245
triadic
#AB3281 #81AB32 #3281AB
tetradic
#AB3281 #AB9832 #32AB5C #3245AB
square
#AB3281 #AB9832 #32AB5C #3245AB
split-complementary
#AB3281 #45AB32 #32AB98
monochromatic
#4C163A #7C245D #AB3281 #CB4FA0 #D97EBA

Accessibility & contrast

On white

5.99
#AB3281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB3281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3281
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3281#FFFFFF#000000##FFFFFF
##AB32811.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405683
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#B63155
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3281;
/* rgb */ color: rgb(171, 50, 129);
/* oklch */ color: oklch(52.4% 0.176 344.8);
Tailwind
colors: {
  custom: {
    50: '#c874a5',
    500: '#ab3281',
    950: '#000000',
  },
}
SCSS
$custom: #ab3281;
$custom-light: #c874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3281",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 320.826,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.17633,
    "h": 344.8
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#AB3281
secondary
#77C291
accent
#DE7D4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3281

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

Preview Lab → · Contrast checker → · Palette generator →

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