#A6797E#A6797E

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

Color values

HEX#A6797E
RGBrgb(166, 121, 126)
HSLhsl(353, 20%, 56%)
HSVhsv(353, 27%, 65%)
CMYKcmyk(0%, 27.1%, 24.1%, 34.9%)
CIE-LABlab(55.37, 18.31, 4.21)
CIE-LCHlch(55.37, 18.79, 12.95°)
OKLaboklab(62.22% 0.0556 0.0113)
OKLCHoklch(62.22% 0.057 11.4)
XYZxyz(26.3295, 23.2894, 22.8431)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6797E #79A6A1
analogous
#A67995 #A6797E #A68B79
triadic
#A6797E #7EA679 #797EA6
tetradic
#A6797E #95A679 #79A6A1 #8B79A6
square
#A6797E #95A679 #79A6A1 #8B79A6
split-complementary
#A6797E #79A68B #7995A6
monochromatic
#634245 #885A5F #A6797E #BE9EA1 #D7C3C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6797E#FFFFFF#000000##000000
##A6797E1.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)
#80807E
Deuteranopia (green-blind)
#8B887D
Tritanopia (blue-blind)
#AF757B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a6797e;
/* rgb */ color: rgb(166, 121, 126);
/* oklch */ color: oklch(62.2% 0.057 11.4);
Tailwind
colors: {
  custom: {
    50: '#c1a0a3',
    500: '#a6797e',
    950: '#000000',
  },
}
SCSS
$custom: #a6797e;
$custom-light: #c1a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6797e",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 353.333,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.05671,
    "h": 11.4
  },
  "luminance": 0.23288
}

Semantic roles & 50–950 ramp

primary
#A6797E
secondary
#B4C7C5
accent
#BDB46B
background
#FBF9FA
surface
#F7F2F3
border
#D0CCCD
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A6797E

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

Preview Lab → · Contrast checker → · Palette generator →

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