#AB289C#AB289C

#AB289C is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.206 H 333.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB289C
RGBrgb(171, 40, 156)
HSLhsl(307, 62%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 76.6%, 8.8%, 32.9%)
CIE-LABlab(42.12, 63.54, -33.64)
CIE-LCHlch(42.12, 71.90, 332.11°)
OKLaboklab(52.83% 0.1838 -0.0923)
OKLCHoklch(52.83% 0.206 333.3)
XYZxyz(23.5543, 12.5778, 32.6333)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB289C #28AB37
analogous
#7928AB #AB289C #AB285B
triadic
#AB289C #9CAB28 #289CAB
tetradic
#AB289C #AB7928 #28AB37 #285BAB
square
#AB289C #AB7928 #28AB37 #285BAB
split-complementary
#AB289C #5BAB28 #28AB79
monochromatic
#481142 #791C6F #AB289C #D23EC1 #DE70D1

Accessibility & contrast

On white

5.97
#AB289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB289C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB289C#FFFFFF#000000##FFFFFF
##AB289C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B33660
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab289c;
/* rgb */ color: rgb(171, 40, 156);
/* oklch */ color: oklch(52.8% 0.206 333.3);
Tailwind
colors: {
  custom: {
    50: '#c871b9',
    500: '#ab289c',
    950: '#000000',
  },
}
SCSS
$custom: #ab289c;
$custom-light: #c871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab289c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 306.87,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.20566,
    "h": 333.3
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#AB289C
secondary
#6AC475
accent
#E55543
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB289C

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

Preview Lab → · Contrast checker → · Palette generator →

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