#A6797A#A6797A

#A6797A is a light, muted red. Relative luminance 0.232; OKLCH L 62.1% C 0.057 H 17.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A6797A
RGBrgb(166, 121, 122)
HSLhsl(359, 20%, 56%)
HSVhsv(359, 27%, 65%)
CMYKcmyk(0%, 27.1%, 26.5%, 34.9%)
CIE-LABlab(55.27, 17.71, 6.39)
CIE-LCHlch(55.27, 18.83, 19.83°)
OKLaboklab(62.11% 0.054 0.0168)
OKLCHoklch(62.11% 0.057 17.3)
XYZxyz(26.0766, 23.1883, 21.5108)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6797A #79A6A5
analogous
#A67991 #A6797A #A68F79
triadic
#A6797A #7AA679 #797AA6
tetradic
#A6797A #91A679 #79A6A5 #8F79A6
square
#A6797A #91A679 #79A6A5 #8F79A6
split-complementary
#A6797A #79A68F #7991A6
monochromatic
#634242 #885A5B #A6797A #BE9E9F #D7C3C3

Accessibility & contrast

On white

3.73
#A6797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A6797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6797A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6797A#FFFFFF#000000##000000
##A6797A1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#AF757A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6797a;
/* rgb */ color: rgb(166, 121, 122);
/* oklch */ color: oklch(62.1% 0.057 17.3);
Tailwind
colors: {
  custom: {
    50: '#c1a0a0',
    500: '#a6797a',
    950: '#000000',
  },
}
SCSS
$custom: #a6797a;
$custom-light: #c1a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6797a",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 358.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.05653,
    "h": 17.3
  },
  "luminance": 0.23187
}

Semantic roles & 50–950 ramp

primary
#A6797A
secondary
#B4C7C6
accent
#BDBB6B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0E
muted
#817E7E

Preview Lab

Preview with #A6797A

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

Preview Lab → · Contrast checker → · Palette generator →

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