#AB2866#AB2866

#AB2866 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.174 H 356.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2866
RGBrgb(171, 40, 102)
HSLhsl(332, 62%, 41%)
HSVhsv(332, 77%, 67%)
CMYKcmyk(0%, 76.6%, 40.4%, 32.9%)
CIE-LABlab(39.81, 56.60, -3.91)
CIE-LCHlch(39.81, 56.73, 356.05°)
OKLaboklab(50.41% 0.1739 -0.0096)
OKLCHoklch(50.41% 0.174 356.9)
XYZxyz(19.9531, 11.1374, 13.6668)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2866 #28AB6D
analogous
#AB28A8 #AB2866 #AB2C28
triadic
#AB2866 #66AB28 #2866AB
tetradic
#AB2866 #A8AB28 #28AB6D #2C28AB
square
#AB2866 #A8AB28 #28AB6D #2C28AB
split-complementary
#AB2866 #28AB2C #28A8AB
monochromatic
#48112B #791C48 #AB2866 #D23E84 #DE70A4

Accessibility & contrast

On white

6.51
#AB2866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2866
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2866#FFFFFF#000000##FFFFFF
##AB28661.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E68
Deuteranopia (green-blind)
#686763
Tritanopia (blue-blind)
#B91544
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2866;
/* rgb */ color: rgb(171, 40, 102);
/* oklch */ color: oklch(50.4% 0.174 356.9);
Tailwind
colors: {
  custom: {
    50: '#c96f91',
    500: '#ab2866',
    950: '#000000',
  },
}
SCSS
$custom: #ab2866;
$custom-light: #c96f91;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2866",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 331.603,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.17418,
    "h": 356.9
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#AB2866
secondary
#6AC49A
accent
#E59843
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2866

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

Preview Lab → · Contrast checker → · Palette generator →

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