#AB5877#AB5877

#AB5877 is a mid, moderate pink. Relative luminance 0.170; OKLCH L 56.8% C 0.114 H 357.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB5877
RGBrgb(171, 88, 119)
HSLhsl(338, 33%, 51%)
HSVhsv(338, 49%, 67%)
CMYKcmyk(0%, 48.5%, 30.4%, 32.9%)
CIE-LABlab(48.22, 37.50, -1.97)
CIE-LCHlch(48.22, 37.56, 357.00°)
OKLaboklab(56.84% 0.1136 -0.0047)
OKLCHoklch(56.84% 0.114 357.6)
XYZxyz(23.6150, 16.9713, 19.4813)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5877 #58AB8C
analogous
#AB58A1 #AB5877 #AB6258
triadic
#AB5877 #77AB58 #5877AB
tetradic
#AB5877 #A1AB58 #58AB8C #6258AB
square
#AB5877 #A1AB58 #58AB8C #6258AB
split-complementary
#AB5877 #58AB62 #58A1AB
monochromatic
#5B2E3F #84425B #AB5877 #BF8198 #D4A9B9

Accessibility & contrast

On white

4.78
#AB5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5877
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5877#FFFFFF#000000##FFFFFF
##AB58771.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646978
Deuteranopia (green-blind)
#797875
Tritanopia (blue-blind)
#B75363
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab5877;
/* rgb */ color: rgb(171, 88, 119);
/* oklch */ color: oklch(56.8% 0.114 357.6);
Tailwind
colors: {
  custom: {
    50: '#c6899e',
    500: '#ab5877',
    950: '#000000',
  },
}
SCSS
$custom: #ab5877;
$custom-light: #c6899e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5877",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 337.59,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.11373,
    "h": 357.6
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#AB5877
secondary
#9DC2B4
accent
#C9A15F
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AB5877

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

Preview Lab → · Contrast checker → · Palette generator →

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