#AB506D#AB506D

#AB506D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.3% C 0.123 H 1.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB506D
RGBrgb(171, 80, 109)
HSLhsl(341, 36%, 49%)
HSVhsv(341, 53%, 67%)
CMYKcmyk(0%, 53.2%, 36.3%, 32.9%)
CIE-LABlab(46.31, 40.36, 1.29)
CIE-LCHlch(46.31, 40.39, 1.84°)
OKLaboklab(55.31% 0.1228 0.0039)
OKLCHoklch(55.31% 0.123 1.8)
XYZxyz(22.4247, 15.5016, 16.2761)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB506D #50AB8E
analogous
#AB509B #AB506D #AB6150
triadic
#AB506D #6DAB50 #506DAB
tetradic
#AB506D #9BAB50 #50AB8E #6150AB
square
#AB506D #9BAB50 #50AB8E #6150AB
split-complementary
#AB506D #50AB61 #509BAB
monochromatic
#582938 #813C52 #AB506D #C0788F #D3A2B2

Accessibility & contrast

On white

5.12
#AB506D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB506D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB506D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB506D#FFFFFF#000000##FFFFFF
##AB506D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636E
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#B8485B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab506d;
/* rgb */ color: rgb(171, 80, 109);
/* oklch */ color: oklch(55.3% 0.123 1.8);
Tailwind
colors: {
  custom: {
    50: '#c78496',
    500: '#ab506d',
    950: '#000000',
  },
}
SCSS
$custom: #ab506d;
$custom-light: #c78496;
$custom-dark: #000000;
JSON
{
  "hex": "#ab506d",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 109
  },
  "hsl": {
    "h": 340.879,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.12284,
    "h": 1.8
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB506D

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

Preview Lab → · Contrast checker → · Palette generator →

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