#AB289B#AB289B

#AB289B is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.205 H 333.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB289B
RGBrgb(171, 40, 155)
HSLhsl(307, 62%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 76.6%, 9.4%, 32.9%)
CIE-LABlab(42.07, 63.39, -33.12)
CIE-LCHlch(42.07, 71.52, 332.42°)
OKLaboklab(52.78% 0.1837 -0.0908)
OKLCHoklch(52.78% 0.205 333.7)
XYZxyz(23.4700, 12.5441, 32.1892)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB289B #28AB38
analogous
#7A28AB #AB289B #AB285A
triadic
#AB289B #9BAB28 #289BAB
tetradic
#AB289B #AB7A28 #28AB38 #285AAB
square
#AB289B #AB7A28 #28AB38 #285AAB
split-complementary
#AB289B #5AAB28 #28AB7A
monochromatic
#481141 #791C6E #AB289B #D23EC0 #DE70D0

Accessibility & contrast

On white

5.99
#AB289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB289B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB289B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB289B#FFFFFF#000000##FFFFFF
##AB289B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B33560
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab289b;
/* rgb */ color: rgb(171, 40, 155);
/* oklch */ color: oklch(52.8% 0.205 333.7);
Tailwind
colors: {
  custom: {
    50: '#c871b9',
    500: '#ab289b',
    950: '#000000',
  },
}
SCSS
$custom: #ab289b;
$custom-light: #c871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab289b",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 307.328,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.20496,
    "h": 333.7
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB289B

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

Preview Lab → · Contrast checker → · Palette generator →

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