#AB6799#AB6799

#AB6799 is a mid, moderate pink. Relative luminance 0.207; OKLCH L 60.5% C 0.109 H 337.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB6799
RGBrgb(171, 103, 153)
HSLhsl(316, 29%, 54%)
HSVhsv(316, 40%, 67%)
CMYKcmyk(0%, 39.8%, 10.5%, 32.9%)
CIE-LABlab(52.58, 34.69, -15.67)
CIE-LCHlch(52.58, 38.07, 335.70°)
OKLaboklab(60.5% 0.1006 -0.042)
OKLCHoklch(60.5% 0.109 337.4)
XYZxyz(27.3946, 20.6599, 32.6756)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6799 #67AB79
analogous
#9B67AB #AB6799 #AB6777
triadic
#AB6799 #99AB67 #6799AB
tetradic
#AB6799 #AB9B67 #67AB79 #6777AB
square
#AB6799 #AB9B67 #67AB79 #6777AB
split-complementary
#AB6799 #77AB67 #67AB9B
monochromatic
#623656 #894C79 #AB6799 #C18EB3 #D7B6CE

Accessibility & contrast

On white

4.09
#AB6799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AB6799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6799
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6799#FFFFFF#000000##000000
##AB67991.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#68779B
Deuteranopia (green-blind)
#7A8197
Tritanopia (blue-blind)
#B26979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab6799;
/* rgb */ color: rgb(171, 103, 153);
/* oklch */ color: oklch(60.5% 0.109 337.4);
Tailwind
colors: {
  custom: {
    50: '#c594b7',
    500: '#ab6799',
    950: '#000000',
  },
}
SCSS
$custom: #ab6799;
$custom-light: #c594b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6799",
  "rgb": {
    "r": 171,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 315.882,
    "s": 28.814,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.10896,
    "h": 337.4
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#AB6799
secondary
#A8C5B0
accent
#C57D63
background
#FCF9FB
surface
#F8F1F6
border
#D1CBD0
text
#130D11
muted
#827E80

Preview Lab

Preview with #AB6799

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

Preview Lab → · Contrast checker → · Palette generator →

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