#AB2657#AB2657

#AB2657 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.171 H 4.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2657
RGBrgb(171, 38, 87)
HSLhsl(338, 64%, 41%)
HSVhsv(338, 78%, 67%)
CMYKcmyk(0%, 77.8%, 49.1%, 32.9%)
CIE-LABlab(39.13, 55.79, 4.59)
CIE-LCHlch(39.13, 55.98, 4.70°)
OKLaboklab(49.76% 0.1708 0.0123)
OKLCHoklch(49.76% 0.171 4.1)
XYZxyz(19.2097, 10.7349, 10.0755)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2657 #26AB7A
analogous
#AB2699 #AB2657 #AB3826
triadic
#AB2657 #57AB26 #2657AB
tetradic
#AB2657 #99AB26 #26AB7A #3826AB
square
#AB2657 #99AB26 #26AB7A #3826AB
split-complementary
#AB2657 #26AB38 #2699AB
monochromatic
#471024 #791B3E #AB2657 #D33B73 #DF6D97

Accessibility & contrast

On white

6.67
#AB2657 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2657 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2657
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2657#FFFFFF#000000##FFFFFF
##AB26571.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C58
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#BA013B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2657;
/* rgb */ color: rgb(171, 38, 87);
/* oklch */ color: oklch(49.8% 0.171 4.1);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2657',
    950: '#000000',
  },
}
SCSS
$custom: #ab2657;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2657",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 337.895,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.17127,
    "h": 4.1
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#AB2657
secondary
#68C5A3
accent
#E7AA41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2657

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

Preview Lab → · Contrast checker → · Palette generator →

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