#AB2856#AB2856

#AB2856 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.169 H 4.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB2856
RGBrgb(171, 40, 86)
HSLhsl(339, 62%, 41%)
HSVhsv(339, 77%, 67%)
CMYKcmyk(0%, 76.6%, 49.7%, 32.9%)
CIE-LABlab(39.33, 55.08, 5.51)
CIE-LCHlch(39.33, 55.35, 5.71°)
OKLaboklab(49.89% 0.1684 0.0146)
OKLCHoklch(49.89% 0.169 4.9)
XYZxyz(19.2348, 10.8500, 9.8837)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2856 #28AB7D
analogous
#AB2898 #AB2856 #AB3C28
triadic
#AB2856 #56AB28 #2856AB
tetradic
#AB2856 #98AB28 #28AB7D #3C28AB
square
#AB2856 #98AB28 #28AB7D #3C28AB
split-complementary
#AB2856 #28AB3C #2898AB
monochromatic
#481124 #791C3D #AB2856 #D23E72 #DE7096

Accessibility & contrast

On white

6.63
#AB2856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2856
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2856#FFFFFF#000000##FFFFFF
##AB28561.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#BA053C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2856;
/* rgb */ color: rgb(171, 40, 86);
/* oklch */ color: oklch(49.9% 0.169 4.9);
Tailwind
colors: {
  custom: {
    50: '#ca6e85',
    500: '#ab2856',
    950: '#000000',
  },
}
SCSS
$custom: #ab2856;
$custom-light: #ca6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2856",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 338.931,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.16906,
    "h": 4.9
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#AB2856
secondary
#6AC4A5
accent
#E5AC43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2856

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

Preview Lab → · Contrast checker → · Palette generator →

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