#AB2757#AB2757

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

Color values

HEX#AB2757
RGBrgb(171, 39, 87)
HSLhsl(338, 63%, 41%)
HSVhsv(338, 77%, 67%)
CMYKcmyk(0%, 77.2%, 49.1%, 32.9%)
CIE-LABlab(39.24, 55.48, 4.75)
CIE-LCHlch(39.24, 55.69, 4.89°)
OKLaboklab(49.84% 0.1698 0.0127)
OKLCHoklch(49.84% 0.17 4.3)
XYZxyz(19.2421, 10.7997, 10.0863)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2757 #27AB7B
analogous
#AB2799 #AB2757 #AB3927
triadic
#AB2757 #57AB27 #2757AB
tetradic
#AB2757 #99AB27 #27AB7B #3927AB
square
#AB2757 #99AB27 #27AB7B #3927AB
split-complementary
#AB2757 #27AB39 #2799AB
monochromatic
#471024 #791C3E #AB2757 #D33D73 #DE6E97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2757#FFFFFF#000000##FFFFFF
##AB27571.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)
#474C58
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#BA033C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2757;
/* rgb */ color: rgb(171, 39, 87);
/* oklch */ color: oklch(49.8% 0.170 4.3);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2757',
    950: '#000000',
  },
}
SCSS
$custom: #ab2757;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2757",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 338.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.1703,
    "h": 4.3
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#AB2757
secondary
#69C5A3
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2757

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

Preview Lab → · Contrast checker → · Palette generator →

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