#AB798E#AB798E

#AB798E is a light, moderate pink. Relative luminance 0.243; OKLCH L 63.3% C 0.068 H 352.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB798E
RGBrgb(171, 121, 142)
HSLhsl(335, 23%, 57%)
HSVhsv(335, 29%, 67%)
CMYKcmyk(0%, 29.2%, 17%, 32.9%)
CIE-LABlab(56.37, 22.76, -3.56)
CIE-LCHlch(56.37, 23.04, 351.11°)
OKLaboklab(63.27% 0.0677 -0.0091)
OKLCHoklch(63.27% 0.068 352.3)
XYZxyz(28.5146, 24.2870, 28.7718)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB798E #79AB96
analogous
#AB79A7 #AB798E #AB7D79
triadic
#AB798E #8EAB79 #798EAB
tetradic
#AB798E #A7AB79 #79AB96 #7D79AB
square
#AB798E #A7AB79 #79AB96 #7D79AB
split-complementary
#AB798E #79AB7D #79A7AB
monochromatic
#684152 #8E596F #AB798E #C39FAE #DAC4CD

Accessibility & contrast

On white

3.59
#AB798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AB798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB798E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB798E#FFFFFF#000000##000000
##AB798E1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E828F
Deuteranopia (green-blind)
#8A8A8D
Tritanopia (blue-blind)
#B37780
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab798e;
/* rgb */ color: rgb(171, 121, 142);
/* oklch */ color: oklch(63.3% 0.068 352.3);
Tailwind
colors: {
  custom: {
    50: '#c5a0af',
    500: '#ab798e',
    950: '#000000',
  },
}
SCSS
$custom: #ab798e;
$custom-light: #c5a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab798e",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 334.8,
    "s": 22.936,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63272,
    "c": 0.06829,
    "h": 352.3
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#AB798E
secondary
#B6CAC2
accent
#BF9B68
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AB798E

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

Preview Lab → · Contrast checker → · Palette generator →

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