#AB786F#AB786F

#AB786F is a light, moderate red. Relative luminance 0.232; OKLCH L 62.2% C 0.066 H 30.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB786F
RGBrgb(171, 120, 111)
HSLhsl(9, 26%, 55%)
HSVhsv(9, 35%, 67%)
CMYKcmyk(0%, 29.8%, 35.1%, 32.9%)
CIE-LABlab(55.32, 18.74, 12.93)
CIE-LCHlch(55.32, 22.77, 34.60°)
OKLaboklab(62.19% 0.0571 0.0332)
OKLCHoklch(62.19% 0.066 30.2)
XYZxyz(26.3812, 23.2402, 18.1321)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB786F #6FA2AB
analogous
#AB6F84 #AB786F #AB966F
triadic
#AB786F #6FAB78 #786FAB
tetradic
#AB786F #84AB6F #6FA2AB #966FAB
square
#AB786F #84AB6F #6FA2AB #966FAB
split-complementary
#AB786F #6FAB96 #6F84AB
monochromatic
#65413B #8B5A51 #AB786F #C29C96 #D8C0BC

Accessibility & contrast

On white

3.72
#AB786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AB786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB786F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB786F#FFFFFF#000000##000000
##AB786F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6E
Deuteranopia (green-blind)
#8F886E
Tritanopia (blue-blind)
#B67176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab786f;
/* rgb */ color: rgb(171, 120, 111);
/* oklch */ color: oklch(62.2% 0.066 30.2);
Tailwind
colors: {
  custom: {
    50: '#c59f98',
    500: '#ab786f',
    950: '#000000',
  },
}
SCSS
$custom: #ab786f;
$custom-light: #c59f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ab786f",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 9,
    "s": 26.316,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.06602,
    "h": 30.2
  },
  "luminance": 0.23239
}

Semantic roles & 50–950 ramp

primary
#AB786F
secondary
#AEC4C7
accent
#B5C365
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AB786F

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

Preview Lab → · Contrast checker → · Palette generator →

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