#AB516C#AB516C

#AB516C is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.4% C 0.121 H 2.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB516C
RGBrgb(171, 81, 108)
HSLhsl(342, 36%, 49%)
HSVhsv(342, 53%, 67%)
CMYKcmyk(0%, 52.6%, 36.8%, 32.9%)
CIE-LABlab(46.48, 39.73, 2.15)
CIE-LCHlch(46.48, 39.79, 3.09°)
OKLaboklab(55.42% 0.1208 0.0061)
OKLCHoklch(55.42% 0.121 2.9)
XYZxyz(22.4450, 15.6277, 16.0188)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB516C #51AB90
analogous
#AB5199 #AB516C #AB6351
triadic
#AB516C #6CAB51 #516CAB
tetradic
#AB516C #99AB51 #51AB90 #6351AB
square
#AB516C #99AB51 #51AB90 #6351AB
split-complementary
#AB516C #51AB63 #5199AB
monochromatic
#582A38 #813D52 #AB516C #C0798F #D3A3B2

Accessibility & contrast

On white

5.09
#AB516C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB516C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB516C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB516C#FFFFFF#000000##FFFFFF
##AB516C1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60646D
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#B8495B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab516c;
/* rgb */ color: rgb(171, 81, 108);
/* oklch */ color: oklch(55.4% 0.121 2.9);
Tailwind
colors: {
  custom: {
    50: '#c78596',
    500: '#ab516c',
    950: '#000000',
  },
}
SCSS
$custom: #ab516c;
$custom-light: #c78596;
$custom-dark: #000000;
JSON
{
  "hex": "#ab516c",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 108
  },
  "hsl": {
    "h": 342,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.12098,
    "h": 2.9
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#AB516C
secondary
#97C1B4
accent
#CCAA5C
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#130B0D
muted
#827C7E

Preview Lab

Preview with #AB516C

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

Preview Lab → · Contrast checker → · Palette generator →

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