#AB3284#AB3284

#AB3284 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.178 H 343.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB3284
RGBrgb(171, 50, 132)
HSLhsl(319, 55%, 43%)
HSVhsv(319, 71%, 67%)
CMYKcmyk(0%, 70.8%, 22.8%, 32.9%)
CIE-LABlab(42.17, 56.75, -18.99)
CIE-LCHlch(42.17, 59.84, 341.50°)
OKLaboklab(52.5% 0.1708 -0.0507)
OKLCHoklch(52.5% 0.178 343.5)
XYZxyz(22.1008, 12.6073, 23.0949)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3284 #32AB59
analogous
#9532AB #AB3284 #AB3247
triadic
#AB3284 #84AB32 #3284AB
tetradic
#AB3284 #AB9532 #32AB59 #3247AB
square
#AB3284 #AB9532 #32AB59 #3247AB
split-complementary
#AB3284 #47AB32 #32AB95
monochromatic
#4C163B #7C245F #AB3284 #CB4FA3 #D97EBC

Accessibility & contrast

On white

5.96
#AB3284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB3284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3284
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3284#FFFFFF#000000##FFFFFF
##AB32841.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5786
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#B63256
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3284;
/* rgb */ color: rgb(171, 50, 132);
/* oklch */ color: oklch(52.5% 0.178 343.5);
Tailwind
colors: {
  custom: {
    50: '#c874a8',
    500: '#ab3284',
    950: '#000000',
  },
}
SCSS
$custom: #ab3284;
$custom-light: #c874a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3284",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 319.339,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.17818,
    "h": 343.5
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#AB3284
secondary
#77C28F
accent
#DE7A4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3284

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

Preview Lab → · Contrast checker → · Palette generator →

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