#A6797C#A6797C

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

Color values

HEX#A6797C
RGBrgb(166, 121, 124)
HSLhsl(356, 20%, 56%)
HSVhsv(356, 27%, 65%)
CMYKcmyk(0%, 27.1%, 25.3%, 34.9%)
CIE-LABlab(55.32, 18.01, 5.30)
CIE-LCHlch(55.32, 18.78, 16.39°)
OKLaboklab(62.17% 0.0548 0.0141)
OKLCHoklch(62.17% 0.057 14.4)
XYZxyz(26.2018, 23.2383, 22.1702)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6797C #79A6A3
analogous
#A67993 #A6797C #A68D79
triadic
#A6797C #7CA679 #797CA6
tetradic
#A6797C #93A679 #79A6A3 #8D79A6
square
#A6797C #93A679 #79A6A3 #8D79A6
split-complementary
#A6797C #79A68D #7993A6
monochromatic
#634244 #885A5D #A6797C #BE9EA0 #D7C3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6797C#FFFFFF#000000##000000
##A6797C1.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)
#817F7C
Deuteranopia (green-blind)
#8B887B
Tritanopia (blue-blind)
#AF757A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6797c;
/* rgb */ color: rgb(166, 121, 124);
/* oklch */ color: oklch(62.2% 0.057 14.4);
Tailwind
colors: {
  custom: {
    50: '#c1a0a1',
    500: '#a6797c',
    950: '#000000',
  },
}
SCSS
$custom: #a6797c;
$custom-light: #c1a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6797c",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 356,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.05656,
    "h": 14.4
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#A6797C
secondary
#B4C7C5
accent
#BDB76B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0F
muted
#817E7E

Preview Lab

Preview with #A6797C

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

Preview Lab → · Contrast checker → · Palette generator →

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