#AB4C8B#AB4C8B

#AB4C8B is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.8% C 0.145 H 342.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB4C8B
RGBrgb(171, 76, 139)
HSLhsl(320, 38%, 48%)
HSVhsv(320, 56%, 67%)
CMYKcmyk(0%, 55.6%, 18.7%, 32.9%)
CIE-LABlab(46.57, 46.51, -16.49)
CIE-LCHlch(46.57, 49.35, 340.47°)
OKLaboklab(55.83% 0.1383 -0.044)
OKLCHoklch(55.83% 0.145 342.4)
XYZxyz(24.0397, 15.6929, 26.1840)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4C8B #4CAB6C
analogous
#9B4CAB #AB4C8B #AB4C5B
triadic
#AB4C8B #8BAB4C #4C8BAB
tetradic
#AB4C8B #AB9B4C #4CAB6C #4C5BAB
square
#AB4C8B #AB9B4C #4CAB6C #4C5BAB
split-complementary
#AB4C8B #5BAB4C #4CAB9B
monochromatic
#562646 #813969 #AB4C8B #C173A7 #D49EC2

Accessibility & contrast

On white

5.07
#AB4C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB4C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4C8B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4C8B#FFFFFF#000000##FFFFFF
##AB4C8B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658D
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#B54D65
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4c8b;
/* rgb */ color: rgb(171, 76, 139);
/* oklch */ color: oklch(55.8% 0.145 342.4);
Tailwind
colors: {
  custom: {
    50: '#c682ad',
    500: '#ab4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #ab4c8b;
$custom-light: #c682ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4c8b",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 320.211,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.14512,
    "h": 342.4
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#AB4C8B
secondary
#92C0A2
accent
#CE8159
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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