#AB286D#AB286D

#AB286D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.177 H 353.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB286D
RGBrgb(171, 40, 109)
HSLhsl(328, 62%, 41%)
HSVhsv(328, 77%, 67%)
CMYKcmyk(0%, 76.6%, 36.3%, 32.9%)
CIE-LABlab(40.05, 57.35, -7.95)
CIE-LCHlch(40.05, 57.90, 352.11°)
OKLaboklab(50.66% 0.176 -0.0203)
OKLCHoklch(50.66% 0.177 353.4)
XYZxyz(20.3150, 11.2821, 15.5729)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB286D #28AB66
analogous
#A828AB #AB286D #AB282C
triadic
#AB286D #6DAB28 #286DAB
tetradic
#AB286D #ABA828 #28AB66 #282CAB
square
#AB286D #ABA828 #28AB66 #282CAB
split-complementary
#AB286D #2CAB28 #28ABA8
monochromatic
#48112E #791C4D #AB286D #D23E8C #DE70AA

Accessibility & contrast

On white

6.45
#AB286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB286D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB286D#FFFFFF#000000##FFFFFF
##AB286D1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#66676A
Tritanopia (blue-blind)
#B91A47
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab286d;
/* rgb */ color: rgb(171, 40, 109);
/* oklch */ color: oklch(50.7% 0.177 353.4);
Tailwind
colors: {
  custom: {
    50: '#c96f96',
    500: '#ab286d',
    950: '#000000',
  },
}
SCSS
$custom: #ab286d;
$custom-light: #c96f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab286d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 328.397,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.17717,
    "h": 353.4
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#AB286D
secondary
#6AC495
accent
#E59043
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB286D

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

Preview Lab → · Contrast checker → · Palette generator →

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