#AB286F#AB286F

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

Color values

HEX#AB286F
RGBrgb(171, 40, 111)
HSLhsl(327, 62%, 41%)
HSVhsv(327, 77%, 67%)
CMYKcmyk(0%, 76.6%, 35.1%, 32.9%)
CIE-LABlab(40.12, 57.57, -9.10)
CIE-LCHlch(40.12, 58.28, 351.02°)
OKLaboklab(50.74% 0.1766 -0.0234)
OKLCHoklch(50.74% 0.178 352.4)
XYZxyz(20.4239, 11.3257, 16.1464)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB286F #28AB64
analogous
#A628AB #AB286F #AB282E
triadic
#AB286F #6FAB28 #286FAB
tetradic
#AB286F #ABA628 #28AB64 #282EAB
square
#AB286F #ABA628 #28AB64 #282EAB
split-complementary
#AB286F #2EAB28 #28ABA6
monochromatic
#48112F #791C4F #AB286F #D23E8E #DE70AB

Accessibility & contrast

On white

6.43
#AB286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB286F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB286F#FFFFFF#000000##FFFFFF
##AB286F1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#66676C
Tritanopia (blue-blind)
#B81B48
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab286f;
/* rgb */ color: rgb(171, 40, 111);
/* oklch */ color: oklch(50.7% 0.178 352.4);
Tailwind
colors: {
  custom: {
    50: '#c96f98',
    500: '#ab286f',
    950: '#000000',
  },
}
SCSS
$custom: #ab286f;
$custom-light: #c96f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ab286f",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 327.481,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.1781,
    "h": 352.4
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#AB286F
secondary
#6AC494
accent
#E58D43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB286F

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

Preview Lab → · Contrast checker → · Palette generator →

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