#AB588D#AB588D

#AB588D is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.6% C 0.126 H 342.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB588D
RGBrgb(171, 88, 141)
HSLhsl(322, 33%, 51%)
HSVhsv(322, 49%, 67%)
CMYKcmyk(0%, 48.5%, 17.5%, 32.9%)
CIE-LABlab(48.96, 40.75, -14.05)
CIE-LCHlch(48.96, 43.11, 340.97°)
OKLaboklab(57.64% 0.1207 -0.0373)
OKLCHoklch(57.64% 0.126 342.8)
XYZxyz(25.0924, 17.5623, 27.2624)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB588D #58AB76
analogous
#9F58AB #AB588D #AB5863
triadic
#AB588D #8DAB58 #588DAB
tetradic
#AB588D #AB9F58 #58AB76 #5863AB
square
#AB588D #AB9F58 #58AB76 #5863AB
split-complementary
#AB588D #63AB58 #58AB9F
monochromatic
#5B2E4B #84426C #AB588D #BF81A9 #D4A9C5

Accessibility & contrast

On white

4.65
#AB588D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB588D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB588D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB588D#FFFFFF#000000##FFFFFF
##AB588D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#B4586C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab588d;
/* rgb */ color: rgb(171, 88, 141);
/* oklch */ color: oklch(57.6% 0.126 342.8);
Tailwind
colors: {
  custom: {
    50: '#c68aae',
    500: '#ab588d',
    950: '#000000',
  },
}
SCSS
$custom: #ab588d;
$custom-light: #c68aae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab588d",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 321.687,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.12637,
    "h": 342.8
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#AB588D
secondary
#9DC2AA
accent
#C9855F
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AB588D

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

Preview Lab → · Contrast checker → · Palette generator →

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