#AB5A7A#AB5A7A

#AB5A7A is a mid, moderate pink. Relative luminance 0.174; OKLCH L 57.3% C 0.112 H 356.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB5A7A
RGBrgb(171, 90, 122)
HSLhsl(336, 33%, 51%)
HSVhsv(336, 47%, 67%)
CMYKcmyk(0%, 47.4%, 28.7%, 32.9%)
CIE-LABlab(48.73, 36.86, -3.02)
CIE-LCHlch(48.73, 36.98, 355.31°)
OKLaboklab(57.25% 0.1115 -0.0075)
OKLCHoklch(57.25% 0.112 356.2)
XYZxyz(23.9644, 17.3774, 20.5006)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5A7A #5AAB8B
analogous
#AB5AA2 #AB5A7A #AB625A
triadic
#AB5A7A #7AAB5A #5A7AAB
tetradic
#AB5A7A #A2AB5A #5AAB8B #625AAB
square
#AB5A7A #A2AB5A #5AAB8B #625AAB
split-complementary
#AB5A7A #5AAB62 #5AA2AB
monochromatic
#5C2F41 #84435D #AB5A7A #C0839B #D4ABBB

Accessibility & contrast

On white

4.69
#AB5A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB5A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5A7A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5A7A#FFFFFF#000000##FFFFFF
##AB5A7A1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#7A7978
Tritanopia (blue-blind)
#B65666
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab5a7a;
/* rgb */ color: rgb(171, 90, 122);
/* oklch */ color: oklch(57.3% 0.112 356.2);
Tailwind
colors: {
  custom: {
    50: '#c68ba0',
    500: '#ab5a7a',
    950: '#000000',
  },
}
SCSS
$custom: #ab5a7a;
$custom-light: #c68ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5a7a",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 122
  },
  "hsl": {
    "h": 336.296,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.11171,
    "h": 356.2
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#AB5A7A
secondary
#9FC2B4
accent
#C99F5F
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AB5A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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