#AB3283#AB3283

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

Color values

HEX#AB3283
RGBrgb(171, 50, 131)
HSLhsl(320, 55%, 43%)
HSVhsv(320, 71%, 67%)
CMYKcmyk(0%, 70.8%, 23.4%, 32.9%)
CIE-LABlab(42.12, 56.61, -18.44)
CIE-LCHlch(42.12, 59.54, 341.96°)
OKLaboklab(52.45% 0.1706 -0.0492)
OKLCHoklch(52.45% 0.178 343.9)
XYZxyz(22.0327, 12.5801, 22.7362)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3283 #32AB5A
analogous
#9632AB #AB3283 #AB3246
triadic
#AB3283 #83AB32 #3283AB
tetradic
#AB3283 #AB9632 #32AB5A #3246AB
square
#AB3283 #AB9632 #32AB5A #3246AB
split-complementary
#AB3283 #46AB32 #32AB96
monochromatic
#4C163A #7C245F #AB3283 #CB4FA2 #D97EBB

Accessibility & contrast

On white

5.97
#AB3283 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3283
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3283#FFFFFF#000000##FFFFFF
##AB32831.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5785
Deuteranopia (green-blind)
#636B80
Tritanopia (blue-blind)
#B63156
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3283;
/* rgb */ color: rgb(171, 50, 131);
/* oklch */ color: oklch(52.5% 0.178 343.9);
Tailwind
colors: {
  custom: {
    50: '#c874a7',
    500: '#ab3283',
    950: '#000000',
  },
}
SCSS
$custom: #ab3283;
$custom-light: #c874a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3283",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 319.835,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.17756,
    "h": 343.9
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3283

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

Preview Lab → · Contrast checker → · Palette generator →

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