#AB2756#AB2756

#AB2756 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.170 H 4.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB2756
RGBrgb(171, 39, 86)
HSLhsl(339, 63%, 41%)
HSVhsv(339, 77%, 67%)
CMYKcmyk(0%, 77.2%, 49.7%, 32.9%)
CIE-LABlab(39.21, 55.39, 5.34)
CIE-LCHlch(39.21, 55.65, 5.51°)
OKLaboklab(49.81% 0.1695 0.0142)
OKLCHoklch(49.81% 0.17 4.8)
XYZxyz(19.2015, 10.7835, 9.8726)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2756 #27AB7C
analogous
#AB2798 #AB2756 #AB3A27
triadic
#AB2756 #56AB27 #2756AB
tetradic
#AB2756 #98AB27 #27AB7C #3A27AB
square
#AB2756 #98AB27 #27AB7C #3A27AB
split-complementary
#AB2756 #27AB3A #2798AB
monochromatic
#471024 #791C3D #AB2756 #D33D72 #DE6E96

Accessibility & contrast

On white

6.65
#AB2756 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2756 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2756
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2756#FFFFFF#000000##FFFFFF
##AB27561.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2756;
/* rgb */ color: rgb(171, 39, 86);
/* oklch */ color: oklch(49.8% 0.170 4.8);
Tailwind
colors: {
  custom: {
    50: '#ca6e85',
    500: '#ab2756',
    950: '#000000',
  },
}
SCSS
$custom: #ab2756;
$custom-light: #ca6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2756",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 338.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17005,
    "h": 4.8
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#AB2756
secondary
#69C5A4
accent
#E6AC42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2756

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

Preview Lab → · Contrast checker → · Palette generator →

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