#AB286C#AB286C

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

Color values

HEX#AB286C
RGBrgb(171, 40, 108)
HSLhsl(329, 62%, 41%)
HSVhsv(329, 77%, 67%)
CMYKcmyk(0%, 76.6%, 36.8%, 32.9%)
CIE-LABlab(40.02, 57.24, -7.38)
CIE-LCHlch(40.02, 57.71, 352.66°)
OKLaboklab(50.62% 0.1757 -0.0188)
OKLCHoklch(50.62% 0.177 353.9)
XYZxyz(20.2615, 11.2607, 15.2910)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB286C #28AB67
analogous
#A928AB #AB286C #AB282B
triadic
#AB286C #6CAB28 #286CAB
tetradic
#AB286C #ABA928 #28AB67 #282BAB
square
#AB286C #ABA928 #28AB67 #282BAB
split-complementary
#AB286C #2BAB28 #28ABA9
monochromatic
#48112D #791C4D #AB286C #D23E8B #DE70A9

Accessibility & contrast

On white

6.46
#AB286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB286C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB286C#FFFFFF#000000##FFFFFF
##AB286C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#666769
Tritanopia (blue-blind)
#B91947
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab286c;
/* rgb */ color: rgb(171, 40, 108);
/* oklch */ color: oklch(50.6% 0.177 353.9);
Tailwind
colors: {
  custom: {
    50: '#c96f96',
    500: '#ab286c',
    950: '#000000',
  },
}
SCSS
$custom: #ab286c;
$custom-light: #c96f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab286c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 328.855,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.17671,
    "h": 353.9
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB286C

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

Preview Lab → · Contrast checker → · Palette generator →

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