#A6797F#A6797F

#A6797F is a light, muted red. Relative luminance 0.233; OKLCH L 62.3% C 0.057 H 10.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A6797F
RGBrgb(166, 121, 127)
HSLhsl(352, 20%, 56%)
HSVhsv(352, 27%, 65%)
CMYKcmyk(0%, 27.1%, 23.5%, 34.9%)
CIE-LABlab(55.40, 18.47, 3.67)
CIE-LCHlch(55.40, 18.83, 11.23°)
OKLaboklab(62.25% 0.056 0.0099)
OKLCHoklch(62.25% 0.057 10)
XYZxyz(26.3944, 23.3154, 23.1846)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6797F #79A6A0
analogous
#A67996 #A6797F #A68A79
triadic
#A6797F #7FA679 #797FA6
tetradic
#A6797F #96A679 #79A6A0 #8A79A6
square
#A6797F #96A679 #79A6A0 #8A79A6
split-complementary
#A6797F #79A68A #7996A6
monochromatic
#634246 #885A60 #A6797F #BE9EA2 #D7C3C5

Accessibility & contrast

On white

3.71
#A6797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A6797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6797F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6797F#FFFFFF#000000##000000
##A6797F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#8B887E
Tritanopia (blue-blind)
#AF757B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a6797f;
/* rgb */ color: rgb(166, 121, 127);
/* oklch */ color: oklch(62.3% 0.057 10.0);
Tailwind
colors: {
  custom: {
    50: '#c1a0a4',
    500: '#a6797f',
    950: '#000000',
  },
}
SCSS
$custom: #a6797f;
$custom-light: #c1a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6797f",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 352,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62254,
    "c": 0.05684,
    "h": 10
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#A6797F
secondary
#B4C7C4
accent
#BDB26B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A6797F

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

Preview Lab → · Contrast checker → · Palette generator →

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