#AB3287#AB3287

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

Color values

HEX#AB3287
RGBrgb(171, 50, 135)
HSLhsl(318, 55%, 43%)
HSVhsv(318, 71%, 67%)
CMYKcmyk(0%, 70.8%, 21.1%, 32.9%)
CIE-LABlab(42.29, 57.16, -20.63)
CIE-LCHlch(42.29, 60.77, 340.16°)
OKLaboklab(52.63% 0.1714 -0.0553)
OKLCHoklch(52.63% 0.18 342.1)
XYZxyz(22.3091, 12.6906, 24.1916)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3287 #32AB56
analogous
#9232AB #AB3287 #AB324A
triadic
#AB3287 #87AB32 #3287AB
tetradic
#AB3287 #AB9232 #32AB56 #324AAB
square
#AB3287 #AB9232 #32AB56 #324AAB
split-complementary
#AB3287 #4AAB32 #32AB92
monochromatic
#4C163C #7C2462 #AB3287 #CB4FA6 #D97EBE

Accessibility & contrast

On white

5.94
#AB3287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB3287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3287
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3287#FFFFFF#000000##FFFFFF
##AB32871.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#B63358
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3287;
/* rgb */ color: rgb(171, 50, 135);
/* oklch */ color: oklch(52.6% 0.180 342.1);
Tailwind
colors: {
  custom: {
    50: '#c874aa',
    500: '#ab3287',
    950: '#000000',
  },
}
SCSS
$custom: #ab3287;
$custom-light: #c874aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3287",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 317.851,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.18009,
    "h": 342.1
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#AB3287
secondary
#77C28D
accent
#DE764A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3287

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

Preview Lab → · Contrast checker → · Palette generator →

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