#AB289D#AB289D

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

Color values

HEX#AB289D
RGBrgb(171, 40, 157)
HSLhsl(306, 62%, 41%)
HSVhsv(306, 77%, 67%)
CMYKcmyk(0%, 76.6%, 8.2%, 32.9%)
CIE-LABlab(42.17, 63.69, -34.16)
CIE-LCHlch(42.17, 72.27, 331.80°)
OKLaboklab(52.89% 0.1838 -0.0938)
OKLCHoklch(52.89% 0.206 333)
XYZxyz(23.6393, 12.6119, 33.0811)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB289D #28AB36
analogous
#7828AB #AB289D #AB285C
triadic
#AB289D #9DAB28 #289DAB
tetradic
#AB289D #AB7828 #28AB36 #285CAB
square
#AB289D #AB7828 #28AB36 #285CAB
split-complementary
#AB289D #5CAB28 #28AB78
monochromatic
#481142 #791C6F #AB289D #D23EC2 #DE70D2

Accessibility & contrast

On white

5.96
#AB289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB289D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB289D#FFFFFF#000000##FFFFFF
##AB289D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#B33761
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab289d;
/* rgb */ color: rgb(171, 40, 157);
/* oklch */ color: oklch(52.9% 0.206 333.0);
Tailwind
colors: {
  custom: {
    50: '#c871ba',
    500: '#ab289d',
    950: '#000000',
  },
}
SCSS
$custom: #ab289d;
$custom-light: #c871ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab289d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 306.412,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.20638,
    "h": 333
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#AB289D
secondary
#6AC474
accent
#E55443
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB289D

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

Preview Lab → · Contrast checker → · Palette generator →

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