#AB3286#AB3286

#AB3286 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.179 H 342.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3286
RGBrgb(171, 50, 134)
HSLhsl(318, 55%, 43%)
HSVhsv(318, 71%, 67%)
CMYKcmyk(0%, 70.8%, 21.6%, 32.9%)
CIE-LABlab(42.25, 57.02, -20.08)
CIE-LCHlch(42.25, 60.46, 340.60°)
OKLaboklab(52.59% 0.1712 -0.0538)
OKLCHoklch(52.59% 0.179 342.6)
XYZxyz(22.2390, 12.6626, 23.8225)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3286 #32AB57
analogous
#9332AB #AB3286 #AB3249
triadic
#AB3286 #86AB32 #3286AB
tetradic
#AB3286 #AB9332 #32AB57 #3249AB
square
#AB3286 #AB9332 #32AB57 #3249AB
split-complementary
#AB3286 #49AB32 #32AB93
monochromatic
#4C163C #7C2461 #AB3286 #CB4FA5 #D97EBD

Accessibility & contrast

On white

5.95
#AB3286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB3286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3286
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3286#FFFFFF#000000##FFFFFF
##AB32861.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#B63357
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3286;
/* rgb */ color: rgb(171, 50, 134);
/* oklch */ color: oklch(52.6% 0.179 342.6);
Tailwind
colors: {
  custom: {
    50: '#c874a9',
    500: '#ab3286',
    950: '#000000',
  },
}
SCSS
$custom: #ab3286;
$custom-light: #c874a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3286",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 318.347,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.17945,
    "h": 342.6
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#AB3286
secondary
#77C28E
accent
#DE774A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3286

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

Preview Lab → · Contrast checker → · Palette generator →

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