#AB5C8A#AB5C8A

#AB5C8A is a mid, moderate pink. Relative luminance 0.181; OKLCH L 58.1% C 0.117 H 345.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5C8A
RGBrgb(171, 92, 138)
HSLhsl(325, 32%, 52%)
HSVhsv(325, 46%, 67%)
CMYKcmyk(0%, 46.2%, 19.3%, 32.9%)
CIE-LABlab(49.68, 38.16, -11.19)
CIE-LCHlch(49.68, 39.77, 343.66°)
OKLaboklab(58.14% 0.1136 -0.0295)
OKLCHoklch(58.14% 0.117 345.4)
XYZxyz(25.2096, 18.1490, 26.2152)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5C8A #5CAB7D
analogous
#A55CAB #AB5C8A #AB5C63
triadic
#AB5C8A #8AAB5C #5C8AAB
tetradic
#AB5C8A #ABA55C #5CAB7D #5C63AB
square
#AB5C8A #ABA55C #5CAB7D #5C63AB
split-complementary
#AB5C8A #63AB5C #5CABA5
monochromatic
#5D304A #85456A #AB5C8A #C084A7 #D5ADC4

Accessibility & contrast

On white

4.54
#AB5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB5C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5C8A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5C8A#FFFFFF#000000##000000
##AB5C8A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#777B88
Tritanopia (blue-blind)
#B45B6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab5c8a;
/* rgb */ color: rgb(171, 92, 138);
/* oklch */ color: oklch(58.1% 0.117 345.4);
Tailwind
colors: {
  custom: {
    50: '#c68cac',
    500: '#ab5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab5c8a;
$custom-light: #c68cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5c8a",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 325.063,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.11732,
    "h": 345.4
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#AB5C8A
secondary
#A0C3AF
accent
#C88B60
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AB5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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