#AB3381#AB3381

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

Color values

HEX#AB3381
RGBrgb(171, 51, 129)
HSLhsl(321, 54%, 44%)
HSVhsv(321, 70%, 67%)
CMYKcmyk(0%, 70.2%, 24.6%, 32.9%)
CIE-LABlab(42.17, 55.97, -17.14)
CIE-LCHlch(42.17, 58.54, 342.98°)
OKLaboklab(52.46% 0.1691 -0.0456)
OKLCHoklch(52.46% 0.175 344.9)
XYZxyz(21.9417, 12.6128, 22.0436)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3381 #33AB5D
analogous
#9933AB #AB3381 #AB3345
triadic
#AB3381 #81AB33 #3381AB
tetradic
#AB3381 #AB9933 #33AB5D #3345AB
square
#AB3381 #AB9933 #33AB5D #3345AB
split-complementary
#AB3381 #45AB33 #33AB99
monochromatic
#4D173A #7C255D #AB3381 #CB50A0 #D97FBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3381#FFFFFF#000000##FFFFFF
##AB33811.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)
#405783
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#B63155
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3381;
/* rgb */ color: rgb(171, 51, 129);
/* oklch */ color: oklch(52.5% 0.175 344.9);
Tailwind
colors: {
  custom: {
    50: '#c875a5',
    500: '#ab3381',
    950: '#000000',
  },
}
SCSS
$custom: #ab3381;
$custom-light: #c875a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3381",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 321,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.17508,
    "h": 344.9
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#AB3381
secondary
#78C292
accent
#DD7E4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3381

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

Preview Lab → · Contrast checker → · Palette generator →

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