#AB4F8D#AB4F8D

#AB4F8D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.3% C 0.142 H 341.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB4F8D
RGBrgb(171, 79, 141)
HSLhsl(320, 37%, 49%)
HSVhsv(320, 54%, 67%)
CMYKcmyk(0%, 53.8%, 17.5%, 32.9%)
CIE-LABlab(47.20, 45.34, -16.73)
CIE-LCHlch(47.20, 48.33, 339.75°)
OKLaboklab(56.33% 0.1344 -0.0447)
OKLCHoklch(56.33% 0.142 341.6)
XYZxyz(24.3987, 16.1749, 27.0312)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F8D #4FAB6D
analogous
#9B4FAB #AB4F8D #AB4F5F
triadic
#AB4F8D #8DAB4F #4F8DAB
tetradic
#AB4F8D #AB9B4F #4FAB6D #4F5FAB
square
#AB4F8D #AB9B4F #4FAB6D #4F5FAB
split-complementary
#AB4F8D #5FAB4F #4FAB9B
monochromatic
#572848 #813C6A #AB4F8D #C077A8 #D4A1C3

Accessibility & contrast

On white

4.96
#AB4F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB4F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F8D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F8D#FFFFFF#000000##FFFFFF
##AB4F8D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#B45067
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4f8d;
/* rgb */ color: rgb(171, 79, 141);
/* oklch */ color: oklch(56.3% 0.142 341.6);
Tailwind
colors: {
  custom: {
    50: '#c684ae',
    500: '#ab4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f8d;
$custom-light: #c684ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f8d",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 319.565,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.14162,
    "h": 341.6
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#AB4F8D
secondary
#95C1A3
accent
#CD805B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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