#AB516E#AB516E

#AB516E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.5% C 0.122 H 1.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB516E
RGBrgb(171, 81, 110)
HSLhsl(341, 36%, 49%)
HSVhsv(341, 53%, 67%)
CMYKcmyk(0%, 52.6%, 35.7%, 32.9%)
CIE-LABlab(46.54, 39.98, 1.01)
CIE-LCHlch(46.54, 39.99, 1.45°)
OKLaboklab(55.48% 0.1216 0.0032)
OKLCHoklch(55.48% 0.122 1.5)
XYZxyz(22.5526, 15.6708, 16.5859)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB516E #51AB8E
analogous
#AB519B #AB516E #AB6151
triadic
#AB516E #6EAB51 #516EAB
tetradic
#AB516E #9BAB51 #51AB8E #6151AB
square
#AB516E #9BAB51 #51AB8E #6151AB
split-complementary
#AB516E #51AB61 #519BAB
monochromatic
#582A39 #813D53 #AB516E #C07990 #D3A3B3

Accessibility & contrast

On white

5.08
#AB516E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB516E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB516E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB516E#FFFFFF#000000##FFFFFF
##AB516E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60646F
Deuteranopia (green-blind)
#77756C
Tritanopia (blue-blind)
#B84A5C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab516e;
/* rgb */ color: rgb(171, 81, 110);
/* oklch */ color: oklch(55.5% 0.122 1.5);
Tailwind
colors: {
  custom: {
    50: '#c78597',
    500: '#ab516e',
    950: '#000000',
  },
}
SCSS
$custom: #ab516e;
$custom-light: #c78597;
$custom-dark: #000000;
JSON
{
  "hex": "#ab516e",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 110
  },
  "hsl": {
    "h": 340.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.12161,
    "h": 1.5
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#AB516E
secondary
#97C1B3
accent
#CCA85C
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0D
muted
#827C7E

Preview Lab

Preview with #AB516E

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

Preview Lab → · Contrast checker → · Palette generator →

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