#AB3887#AB3887

#AB3887 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.172 H 342.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB3887
RGBrgb(171, 56, 135)
HSLhsl(319, 51%, 45%)
HSVhsv(319, 67%, 67%)
CMYKcmyk(0%, 67.3%, 21.1%, 32.9%)
CIE-LABlab(43.12, 54.86, -19.36)
CIE-LCHlch(43.12, 58.17, 340.56°)
OKLaboklab(53.23% 0.1644 -0.0518)
OKLCHoklch(53.23% 0.172 342.5)
XYZxyz(22.5826, 13.2377, 24.2828)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3887 #38AB5C
analogous
#9638AB #AB3887 #AB384D
triadic
#AB3887 #87AB38 #3887AB
tetradic
#AB3887 #AB9638 #38AB5C #384DAB
square
#AB3887 #AB9638 #38AB5C #384DAB
split-complementary
#AB3887 #4DAB38 #38AB96
monochromatic
#4F1A3E #7D2963 #AB3887 #C858A5 #D786BE

Accessibility & contrast

On white

5.76
#AB3887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB3887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3887
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3887#FFFFFF#000000##FFFFFF
##AB38871.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#B6395A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3887;
/* rgb */ color: rgb(171, 56, 135);
/* oklch */ color: oklch(53.2% 0.172 342.5);
Tailwind
colors: {
  custom: {
    50: '#c777aa',
    500: '#ab3887',
    950: '#000000',
  },
}
SCSS
$custom: #ab3887;
$custom-light: #c777aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3887",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 318.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.17233,
    "h": 342.5
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#AB3887
secondary
#7DC193
accent
#DA7A4E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3887

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

Preview Lab → · Contrast checker → · Palette generator →

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