#AB5378#AB5378

#AB5378 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.1% C 0.122 H 355.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB5378
RGBrgb(171, 83, 120)
HSLhsl(335, 35%, 50%)
HSVhsv(335, 51%, 67%)
CMYKcmyk(0%, 51.5%, 29.8%, 32.9%)
CIE-LABlab(47.24, 40.25, -4.02)
CIE-LCHlch(47.24, 40.45, 354.29°)
OKLaboklab(56.11% 0.122 -0.0101)
OKLCHoklch(56.11% 0.122 355.3)
XYZxyz(23.2789, 16.2026, 19.6671)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5378 #53AB86
analogous
#AB53A4 #AB5378 #AB5A53
triadic
#AB5378 #78AB53 #5378AB
tetradic
#AB5378 #A4AB53 #53AB86 #5A53AB
square
#AB5378 #A4AB53 #53AB86 #5A53AB
split-complementary
#AB5378 #53AB5A #53A4AB
monochromatic
#592B3E #823F5B #AB5378 #BF7C98 #D3A5B9

Accessibility & contrast

On white

4.95
#AB5378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB5378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5378
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5378#FFFFFF#000000##FFFFFF
##AB53781.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#B74E61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab5378;
/* rgb */ color: rgb(171, 83, 120);
/* oklch */ color: oklch(56.1% 0.122 355.3);
Tailwind
colors: {
  custom: {
    50: '#c7869e',
    500: '#ab5378',
    950: '#000000',
  },
}
SCSS
$custom: #ab5378;
$custom-light: #c7869e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5378",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 334.773,
    "s": 34.646,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.12237,
    "h": 355.3
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#AB5378
secondary
#99C1B0
accent
#CB9D5D
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB5378

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

Preview Lab → · Contrast checker → · Palette generator →

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