#AB2861#AB2861

#AB2861 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.172 H 359.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AB2861
RGBrgb(171, 40, 97)
HSLhsl(334, 62%, 41%)
HSVhsv(334, 77%, 67%)
CMYKcmyk(0%, 76.6%, 43.3%, 32.9%)
CIE-LABlab(39.65, 56.09, -1.00)
CIE-LCHlch(39.65, 56.10, 358.98°)
OKLaboklab(50.24% 0.1723 -0.0019)
OKLCHoklch(50.24% 0.172 359.4)
XYZxyz(19.7125, 11.0411, 12.4001)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2861 #28AB72
analogous
#AB28A3 #AB2861 #AB3128
triadic
#AB2861 #61AB28 #2861AB
tetradic
#AB2861 #A3AB28 #28AB72 #3128AB
square
#AB2861 #A3AB28 #28AB72 #3128AB
split-complementary
#AB2861 #28AB31 #28A3AB
monochromatic
#481129 #791C45 #AB2861 #D23E7F #DE70A0

Accessibility & contrast

On white

6.55
#AB2861 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2861 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2861
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2861#FFFFFF#000000##FFFFFF
##AB28611.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D62
Deuteranopia (green-blind)
#69665E
Tritanopia (blue-blind)
#BA1141
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2861;
/* rgb */ color: rgb(171, 40, 97);
/* oklch */ color: oklch(50.2% 0.172 359.4);
Tailwind
colors: {
  custom: {
    50: '#c96f8d',
    500: '#ab2861',
    950: '#000000',
  },
}
SCSS
$custom: #ab2861;
$custom-light: #c96f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2861",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 333.893,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.17231,
    "h": 359.4
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#AB2861
secondary
#6AC49D
accent
#E59E43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2861

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

Preview Lab → · Contrast checker → · Palette generator →

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