#AB286B#AB286B

#AB286B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.176 H 354.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB286B
RGBrgb(171, 40, 107)
HSLhsl(329, 62%, 41%)
HSVhsv(329, 77%, 67%)
CMYKcmyk(0%, 76.6%, 37.4%, 32.9%)
CIE-LABlab(39.98, 57.13, -6.80)
CIE-LCHlch(39.98, 57.53, 353.21°)
OKLaboklab(50.59% 0.1754 -0.0173)
OKLCHoklch(50.59% 0.176 354.4)
XYZxyz(20.2085, 11.2395, 15.0123)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB286B #28AB68
analogous
#AA28AB #AB286B #AB282A
triadic
#AB286B #6BAB28 #286BAB
tetradic
#AB286B #ABAA28 #28AB68 #282AAB
square
#AB286B #ABAA28 #28AB68 #282AAB
split-complementary
#AB286B #2AAB28 #28ABAA
monochromatic
#48112D #791C4C #AB286B #D23E8A #DE70A8

Accessibility & contrast

On white

6.47
#AB286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB286B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB286B#FFFFFF#000000##FFFFFF
##AB286B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#676768
Tritanopia (blue-blind)
#B91946
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab286b;
/* rgb */ color: rgb(171, 40, 107);
/* oklch */ color: oklch(50.6% 0.176 354.4);
Tailwind
colors: {
  custom: {
    50: '#c96f95',
    500: '#ab286b',
    950: '#000000',
  },
}
SCSS
$custom: #ab286b;
$custom-light: #c96f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab286b",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 329.313,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.17627,
    "h": 354.4
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#AB286B
secondary
#6AC496
accent
#E59243
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB286B

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

Preview Lab → · Contrast checker → · Palette generator →

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