#AB4C8F#AB4C8F

#AB4C8F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.0% C 0.148 H 340.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB4C8F
RGBrgb(171, 76, 143)
HSLhsl(318, 38%, 48%)
HSVhsv(318, 56%, 67%)
CMYKcmyk(0%, 55.6%, 16.4%, 32.9%)
CIE-LABlab(46.73, 47.13, -18.66)
CIE-LCHlch(46.73, 50.69, 338.40°)
OKLaboklab(56% 0.1393 -0.05)
OKLCHoklch(56% 0.148 340.2)
XYZxyz(24.3374, 15.8119, 27.7515)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4C8F #4CAB68
analogous
#974CAB #AB4C8F #AB4C5F
triadic
#AB4C8F #8FAB4C #4C8FAB
tetradic
#AB4C8F #AB974C #4CAB68 #4C5FAB
square
#AB4C8F #AB974C #4CAB68 #4C5FAB
split-complementary
#AB4C8F #5FAB4C #4CAB97
monochromatic
#562648 #81396C #AB4C8F #C173AA #D49EC4

Accessibility & contrast

On white

5.05
#AB4C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB4C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4C8F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4C8F#FFFFFF#000000##FFFFFF
##AB4C8F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516591
Deuteranopia (green-blind)
#6C748D
Tritanopia (blue-blind)
#B44E67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4c8f;
/* rgb */ color: rgb(171, 76, 143);
/* oklch */ color: oklch(56.0% 0.148 340.2);
Tailwind
colors: {
  custom: {
    50: '#c682b0',
    500: '#ab4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ab4c8f;
$custom-light: #c682b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4c8f",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 317.684,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.14798,
    "h": 340.2
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#AB4C8F
secondary
#92C0A0
accent
#CE7C59
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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