#AB2868#AB2868

#AB2868 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.175 H 355.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB2868
RGBrgb(171, 40, 104)
HSLhsl(331, 62%, 41%)
HSVhsv(331, 77%, 67%)
CMYKcmyk(0%, 76.6%, 39.2%, 32.9%)
CIE-LABlab(39.88, 56.81, -5.07)
CIE-LCHlch(39.88, 57.03, 354.90°)
OKLaboklab(50.48% 0.1745 -0.0126)
OKLCHoklch(50.48% 0.175 355.9)
XYZxyz(20.0534, 11.1775, 14.1955)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2868 #28AB6B
analogous
#AB28AA #AB2868 #AB2A28
triadic
#AB2868 #68AB28 #2868AB
tetradic
#AB2868 #AAAB28 #28AB6B #2A28AB
square
#AB2868 #AAAB28 #28AB6B #2A28AB
split-complementary
#AB2868 #28AB2A #28AAAB
monochromatic
#48112C #791C4A #AB2868 #D23E86 #DE70A5

Accessibility & contrast

On white

6.49
#AB2868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2868
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2868#FFFFFF#000000##FFFFFF
##AB28681.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E6A
Deuteranopia (green-blind)
#676765
Tritanopia (blue-blind)
#B91645
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2868;
/* rgb */ color: rgb(171, 40, 104);
/* oklch */ color: oklch(50.5% 0.175 355.9);
Tailwind
colors: {
  custom: {
    50: '#c96f93',
    500: '#ab2868',
    950: '#000000',
  },
}
SCSS
$custom: #ab2868;
$custom-light: #c96f93;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2868",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 330.687,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.17499,
    "h": 355.9
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#AB2868
secondary
#6AC498
accent
#E59643
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AB2868

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

Preview Lab → · Contrast checker → · Palette generator →

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