#AB5B7C#AB5B7C

#AB5B7C is a mid, moderate pink. Relative luminance 0.176; OKLCH L 57.5% C 0.111 H 355.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB5B7C
RGBrgb(171, 91, 124)
HSLhsl(335, 32%, 51%)
HSVhsv(335, 47%, 67%)
CMYKcmyk(0%, 46.8%, 27.5%, 32.9%)
CIE-LABlab(49.00, 36.60, -3.82)
CIE-LCHlch(49.00, 36.80, 354.04°)
OKLaboklab(57.48% 0.1106 -0.0096)
OKLCHoklch(57.48% 0.111 355)
XYZxyz(24.1745, 17.5973, 21.1883)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5B7C #5BAB8A
analogous
#AB5BA4 #AB5B7C #AB625B
triadic
#AB5B7C #7CAB5B #5B7CAB
tetradic
#AB5B7C #A4AB5B #5BAB8A #625BAB
square
#AB5B7C #A4AB5B #5BAB8A #625BAB
split-complementary
#AB5B7C #5BAB62 #5BA4AB
monochromatic
#5C2F42 #85445F #AB5B7C #C0839C #D4ACBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5B7C#FFFFFF#000000##FFFFFF
##AB5B7C1.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)
#656C7D
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#B65767
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab5b7c;
/* rgb */ color: rgb(171, 91, 124);
/* oklch */ color: oklch(57.5% 0.111 355.0);
Tailwind
colors: {
  custom: {
    50: '#c68ba1',
    500: '#ab5b7c',
    950: '#000000',
  },
}
SCSS
$custom: #ab5b7c;
$custom-light: #c68ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5b7c",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 124
  },
  "hsl": {
    "h": 335.25,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.11097,
    "h": 355
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#AB5B7C
secondary
#9FC3B4
accent
#C89D5F
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AB5B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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