#AB587E#AB587E

#AB587E is a mid, moderate pink. Relative luminance 0.171; OKLCH L 57.1% C 0.117 H 352.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB587E
RGBrgb(171, 88, 126)
HSLhsl(333, 33%, 51%)
HSVhsv(333, 49%, 67%)
CMYKcmyk(0%, 48.5%, 26.3%, 32.9%)
CIE-LABlab(48.44, 38.48, -5.85)
CIE-LCHlch(48.44, 38.92, 351.35°)
OKLaboklab(57.08% 0.1161 -0.015)
OKLCHoklch(57.08% 0.117 352.6)
XYZxyz(24.0510, 17.1457, 21.7774)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB587E #58AB85
analogous
#AB58A7 #AB587E #AB5B58
triadic
#AB587E #7EAB58 #587EAB
tetradic
#AB587E #A7AB58 #58AB85 #5B58AB
square
#AB587E #A7AB58 #58AB85 #5B58AB
split-complementary
#AB587E #58AB5B #58A7AB
monochromatic
#5B2E42 #844260 #AB587E #BF819D #D4A9BD

Accessibility & contrast

On white

4.74
#AB587E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB587E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB587E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB587E#FFFFFF#000000##FFFFFF
##AB587E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626A7F
Deuteranopia (green-blind)
#77797C
Tritanopia (blue-blind)
#B65466
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab587e;
/* rgb */ color: rgb(171, 88, 126);
/* oklch */ color: oklch(57.1% 0.117 352.6);
Tailwind
colors: {
  custom: {
    50: '#c689a3',
    500: '#ab587e',
    950: '#000000',
  },
}
SCSS
$custom: #ab587e;
$custom-light: #c689a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab587e",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 332.53,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.11702,
    "h": 352.6
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#AB587E
secondary
#9DC2B1
accent
#C9985F
background
#FCF8FA
surface
#F8F0F3
border
#D1CBCD
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AB587E

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

Preview Lab → · Contrast checker → · Palette generator →

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