#A6797D#A6797D

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

Color values

HEX#A6797D
RGBrgb(166, 121, 125)
HSLhsl(355, 20%, 56%)
HSVhsv(355, 27%, 65%)
CMYKcmyk(0%, 27.1%, 24.7%, 34.9%)
CIE-LABlab(55.34, 18.16, 4.75)
CIE-LCHlch(55.34, 18.77, 14.67°)
OKLaboklab(62.2% 0.0552 0.0127)
OKLCHoklch(62.2% 0.057 12.9)
XYZxyz(26.2653, 23.2638, 22.5049)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6797D #79A6A2
analogous
#A67994 #A6797D #A68C79
triadic
#A6797D #7DA679 #797DA6
tetradic
#A6797D #94A679 #79A6A2 #8C79A6
square
#A6797D #94A679 #79A6A2 #8C79A6
split-complementary
#A6797D #79A68C #7994A6
monochromatic
#634245 #885A5E #A6797D #BE9EA1 #D7C3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6797D#FFFFFF#000000##000000
##A6797D1.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)
#80807D
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#AF757A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6797d;
/* rgb */ color: rgb(166, 121, 125);
/* oklch */ color: oklch(62.2% 0.057 12.9);
Tailwind
colors: {
  custom: {
    50: '#c1a0a2',
    500: '#a6797d',
    950: '#000000',
  },
}
SCSS
$custom: #a6797d;
$custom-light: #c1a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6797d",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 354.667,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.05661,
    "h": 12.9
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#A6797D
secondary
#B4C7C5
accent
#BDB66B
background
#FBF9F9
surface
#F7F2F2
border
#D0CCCC
text
#120E0F
muted
#817E7E

Preview Lab

Preview with #A6797D

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

Preview Lab → · Contrast checker → · Palette generator →

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