#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 |
|---|---|
| RGB | rgb(166, 121, 126) |
| HSL | hsl(353, 20%, 56%) |
| HSV | hsv(353, 27%, 65%) |
| CMYK | cmyk(0%, 27.1%, 24.1%, 34.9%) |
| CIE-LAB | lab(55.37, 18.31, 4.21) |
| CIE-LCH | lch(55.37, 18.79, 12.95°) |
| OKLab | oklab(62.22% 0.0556 0.0113) |
| OKLCH | oklch(62.22% 0.057 11.4) |
| XYZ | xyz(26.3295, 23.2894, 22.8431) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 5.06
Reddish Grey
#997570
ΔE00 5.72
Dusty Rose
#C0737A
ΔE00 6.89
Rosybrown
#BC8F8F
ΔE00 7.58
Old Rose
#C87F89
ΔE00 7.74
Brownish Pink
#C27E79
ΔE00 7.76
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 |
|---|---|---|---|---|
| ##A6797E | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.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