#AB2864#AB2864

#AB2864 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.173 H 357.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB2864
RGBrgb(171, 40, 100)
HSLhsl(333, 62%, 41%)
HSVhsv(333, 77%, 67%)
CMYKcmyk(0%, 76.6%, 41.5%, 32.9%)
CIE-LABlab(39.75, 56.39, -2.75)
CIE-LCHlch(39.75, 56.46, 357.21°)
OKLaboklab(50.34% 0.1733 -0.0065)
OKLCHoklch(50.34% 0.173 357.8)
XYZxyz(19.8551, 11.0982, 13.1507)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2864 #28AB6F
analogous
#AB28A6 #AB2864 #AB2E28
triadic
#AB2864 #64AB28 #2864AB
tetradic
#AB2864 #A6AB28 #28AB6F #2E28AB
square
#AB2864 #A6AB28 #28AB6F #2E28AB
split-complementary
#AB2864 #28AB2E #28A6AB
monochromatic
#48112A #791C47 #AB2864 #D23E82 #DE70A2

Accessibility & contrast

On white

6.52
#AB2864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2864
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2864#FFFFFF#000000##FFFFFF
##AB28641.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E65
Deuteranopia (green-blind)
#686761
Tritanopia (blue-blind)
#B91343
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2864;
/* rgb */ color: rgb(171, 40, 100);
/* oklch */ color: oklch(50.3% 0.173 357.8);
Tailwind
colors: {
  custom: {
    50: '#c96f90',
    500: '#ab2864',
    950: '#000000',
  },
}
SCSS
$custom: #ab2864;
$custom-light: #c96f90;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2864",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 332.519,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.1734,
    "h": 357.8
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#AB2864
secondary
#6AC49B
accent
#E59B43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2864

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

Preview Lab → · Contrast checker → · Palette generator →

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