#AB2889#AB2889

#AB2889 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.193 H 340.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB2889
RGBrgb(171, 40, 137)
HSLhsl(316, 62%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 76.6%, 19.9%, 32.9%)
CIE-LABlab(41.19, 60.81, -23.56)
CIE-LCHlch(41.19, 65.21, 338.82°)
OKLaboklab(51.86% 0.182 -0.0635)
OKLCHoklch(51.86% 0.193 340.8)
XYZxyz(22.0694, 11.9839, 24.8129)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2889 #28AB4A
analogous
#8C28AB #AB2889 #AB2847
triadic
#AB2889 #89AB28 #2889AB
tetradic
#AB2889 #AB8C28 #28AB4A #2847AB
square
#AB2889 #AB8C28 #28AB4A #2847AB
split-complementary
#AB2889 #47AB28 #28AB8C
monochromatic
#48113A #791C61 #AB2889 #D23EAC #DE70C1

Accessibility & contrast

On white

6.18
#AB2889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2889
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2889#FFFFFF#000000##FFFFFF
##AB28891.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#5E6986
Tritanopia (blue-blind)
#B62C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2889;
/* rgb */ color: rgb(171, 40, 137);
/* oklch */ color: oklch(51.9% 0.193 340.8);
Tailwind
colors: {
  custom: {
    50: '#c870ab',
    500: '#ab2889',
    950: '#000000',
  },
}
SCSS
$custom: #ab2889;
$custom-light: #c870ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2889",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 315.573,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.19274,
    "h": 340.8
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#AB2889
secondary
#6AC482
accent
#E56D43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2889

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

Preview Lab → · Contrast checker → · Palette generator →

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