#AB3D87#AB3D87

#AB3D87 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.165 H 342.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB3D87
RGBrgb(171, 61, 135)
HSLhsl(320, 47%, 45%)
HSVhsv(320, 64%, 67%)
CMYKcmyk(0%, 64.3%, 21.1%, 32.9%)
CIE-LABlab(43.87, 52.79, -18.21)
CIE-LCHlch(43.87, 55.84, 340.97°)
OKLaboklab(53.78% 0.1581 -0.0486)
OKLCHoklch(53.78% 0.165 342.9)
XYZxyz(22.8372, 13.7468, 24.3676)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D87 #3DAB61
analogous
#983DAB #AB3D87 #AB3D50
triadic
#AB3D87 #87AB3D #3D87AB
tetradic
#AB3D87 #AB983D #3DAB61 #3D50AB
square
#AB3D87 #AB983D #3DAB61 #3D50AB
split-complementary
#AB3D87 #50AB3D #3DAB98
monochromatic
#511D40 #7E2D63 #AB3D87 #C65FA4 #D68CBE

Accessibility & contrast

On white

5.60
#AB3D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB3D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3D87
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3D87#FFFFFF#000000##FFFFFF
##AB3D871.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#B53D5C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3d87;
/* rgb */ color: rgb(171, 61, 135);
/* oklch */ color: oklch(53.8% 0.165 342.9);
Tailwind
colors: {
  custom: {
    50: '#c77aaa',
    500: '#ab3d87',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d87;
$custom-light: #c77aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d87",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 319.636,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.16539,
    "h": 342.9
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#AB3D87
secondary
#83C197
accent
#D77D51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3D87

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

Preview Lab → · Contrast checker → · Palette generator →

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