#AB3889#AB3889

#AB3889 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.174 H 341.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB3889
RGBrgb(171, 56, 137)
HSLhsl(318, 51%, 45%)
HSVhsv(318, 67%, 67%)
CMYKcmyk(0%, 67.3%, 19.9%, 32.9%)
CIE-LABlab(43.20, 55.14, -20.44)
CIE-LCHlch(43.20, 58.81, 339.66°)
OKLaboklab(53.32% 0.1648 -0.0549)
OKLCHoklch(53.32% 0.174 341.6)
XYZxyz(22.7248, 13.2946, 25.0314)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3889 #38AB5A
analogous
#9438AB #AB3889 #AB3850
triadic
#AB3889 #89AB38 #3889AB
tetradic
#AB3889 #AB9438 #38AB5A #3850AB
square
#AB3889 #AB9438 #38AB5A #3850AB
split-complementary
#AB3889 #50AB38 #38AB94
monochromatic
#4F1A3F #7D2964 #AB3889 #C858A7 #D786BF

Accessibility & contrast

On white

5.74
#AB3889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB3889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3889
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3889#FFFFFF#000000##FFFFFF
##AB38891.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8B
Deuteranopia (green-blind)
#646D86
Tritanopia (blue-blind)
#B53A5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3889;
/* rgb */ color: rgb(171, 56, 137);
/* oklch */ color: oklch(53.3% 0.174 341.6);
Tailwind
colors: {
  custom: {
    50: '#c777ab',
    500: '#ab3889',
    950: '#000000',
  },
}
SCSS
$custom: #ab3889;
$custom-light: #c777ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3889",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 317.739,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.17365,
    "h": 341.6
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#AB3889
secondary
#7DC192
accent
#DA774E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3889

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

Preview Lab → · Contrast checker → · Palette generator →

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