#A6787A#A6787A

#A6787A is a mid, muted red. Relative luminance 0.229; OKLCH L 61.9% C 0.058 H 16.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A6787A
RGBrgb(166, 120, 122)
HSLhsl(357, 21%, 56%)
HSVhsv(357, 28%, 65%)
CMYKcmyk(0%, 27.7%, 26.5%, 34.9%)
CIE-LABlab(55.02, 18.28, 6.03)
CIE-LCHlch(55.02, 19.25, 18.26°)
OKLaboklab(61.92% 0.0556 0.0159)
OKLCHoklch(61.92% 0.058 16)
XYZxyz(25.9557, 22.9465, 21.4705)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6787A #78A6A4
analogous
#A67891 #A6787A #A68D78
triadic
#A6787A #7AA678 #787AA6
tetradic
#A6787A #91A678 #78A6A4 #8D78A6
square
#A6787A #91A678 #78A6A4 #8D78A6
split-complementary
#A6787A #78A68D #7891A6
monochromatic
#634142 #87595B #A6787A #BE9D9E #D7C2C3

Accessibility & contrast

On white

3.76
#A6787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A6787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6787A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6787A#FFFFFF#000000##000000
##A6787A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7A
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#AF7479
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6787a;
/* rgb */ color: rgb(166, 120, 122);
/* oklch */ color: oklch(61.9% 0.058 16.0);
Tailwind
colors: {
  custom: {
    50: '#c19fa0',
    500: '#a6787a',
    950: '#000000',
  },
}
SCSS
$custom: #a6787a;
$custom-light: #c19fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6787a",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 357.391,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61919,
    "c": 0.05788,
    "h": 16
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#A6787A
secondary
#B3C6C6
accent
#BDBA6B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0E
muted
#817E7E

Preview Lab

Preview with #A6787A

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

Preview Lab → · Contrast checker → · Palette generator →

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