#AB588E#AB588E

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

Color values

HEX#AB588E
RGBrgb(171, 88, 142)
HSLhsl(321, 33%, 51%)
HSVhsv(321, 49%, 67%)
CMYKcmyk(0%, 48.5%, 17%, 32.9%)
CIE-LABlab(49.00, 40.91, -14.60)
CIE-LCHlch(49.00, 43.43, 340.37°)
OKLaboklab(57.68% 0.121 -0.0388)
OKLCHoklch(57.68% 0.127 342.2)
XYZxyz(25.1672, 17.5922, 27.6560)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB588E #58AB75
analogous
#9E58AB #AB588E #AB5864
triadic
#AB588E #8EAB58 #588EAB
tetradic
#AB588E #AB9E58 #58AB75 #5864AB
square
#AB588E #AB9E58 #58AB75 #5864AB
split-complementary
#AB588E #64AB58 #58AB9E
monochromatic
#5B2E4B #84426D #AB588E #BF81AA #D4A9C5

Accessibility & contrast

On white

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

On black

4.52
#AB588E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB588E#FFFFFF#000000##FFFFFF
##AB588E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#73798C
Tritanopia (blue-blind)
#B4596D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab588e;
/* rgb */ color: rgb(171, 88, 142);
/* oklch */ color: oklch(57.7% 0.127 342.2);
Tailwind
colors: {
  custom: {
    50: '#c68aaf',
    500: '#ab588e',
    950: '#000000',
  },
}
SCSS
$custom: #ab588e;
$custom-light: #c68aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab588e",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 320.964,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.12708,
    "h": 342.2
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB588E

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

Preview Lab → · Contrast checker → · Palette generator →

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