#AB5A7D#AB5A7D

#AB5A7D is a mid, moderate pink. Relative luminance 0.175; OKLCH L 57.4% C 0.113 H 354.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB5A7D
RGBrgb(171, 90, 125)
HSLhsl(334, 33%, 51%)
HSVhsv(334, 47%, 67%)
CMYKcmyk(0%, 47.4%, 26.9%, 32.9%)
CIE-LABlab(48.83, 37.28, -4.69)
CIE-LCHlch(48.83, 37.57, 352.84°)
OKLaboklab(57.36% 0.1125 -0.0119)
OKLCHoklch(57.36% 0.113 354)
XYZxyz(24.1532, 17.4529, 21.4947)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5A7D #5AAB88
analogous
#AB5AA5 #AB5A7D #AB5F5A
triadic
#AB5A7D #7DAB5A #5A7DAB
tetradic
#AB5A7D #A5AB5A #5AAB88 #5F5AAB
square
#AB5A7D #A5AB5A #5AAB88 #5F5AAB
split-complementary
#AB5A7D #5AAB5F #5AA5AB
monochromatic
#5C2F42 #84435F #AB5A7D #C0839D #D4ABBD

Accessibility & contrast

On white

4.68
#AB5A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB5A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5A7D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5A7D#FFFFFF#000000##FFFFFF
##AB5A7D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646B7E
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#B65667
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab5a7d;
/* rgb */ color: rgb(171, 90, 125);
/* oklch */ color: oklch(57.4% 0.113 354.0);
Tailwind
colors: {
  custom: {
    50: '#c68ba2',
    500: '#ab5a7d',
    950: '#000000',
  },
}
SCSS
$custom: #ab5a7d;
$custom-light: #c68ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5a7d",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 125
  },
  "hsl": {
    "h": 334.074,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.11314,
    "h": 354
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#AB5A7D
secondary
#9FC2B3
accent
#C99B5F
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AB5A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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