#AB3F87#AB3F87

#AB3F87 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.163 H 343.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB3F87
RGBrgb(171, 63, 135)
HSLhsl(320, 46%, 46%)
HSVhsv(320, 63%, 67%)
CMYKcmyk(0%, 63.2%, 21.1%, 32.9%)
CIE-LABlab(44.18, 51.93, -17.73)
CIE-LCHlch(44.18, 54.87, 341.15°)
OKLaboklab(54.01% 0.1555 -0.0473)
OKLCHoklch(54.01% 0.163 343.1)
XYZxyz(22.9459, 13.9643, 24.4039)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F87 #3FAB63
analogous
#993FAB #AB3F87 #AB3F51
triadic
#AB3F87 #87AB3F #3F87AB
tetradic
#AB3F87 #AB993F #3FAB63 #3F51AB
square
#AB3F87 #AB993F #3FAB63 #3F51AB
split-complementary
#AB3F87 #51AB3F #3FAB99
monochromatic
#521E40 #7E2F64 #AB3F87 #C562A4 #D68FBE

Accessibility & contrast

On white

5.54
#AB3F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB3F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3F87
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F87#FFFFFF#000000##FFFFFF
##AB3F871.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#B53F5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3f87;
/* rgb */ color: rgb(171, 63, 135);
/* oklch */ color: oklch(54.0% 0.163 343.1);
Tailwind
colors: {
  custom: {
    50: '#c77baa',
    500: '#ab3f87',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f87;
$custom-light: #c77baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f87",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.16251,
    "h": 343.1
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#AB3F87
secondary
#85C199
accent
#D67E52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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