#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 |
|---|---|
| RGB | rgb(166, 121, 127) |
| HSL | hsl(352, 20%, 56%) |
| HSV | hsv(352, 27%, 65%) |
| CMYK | cmyk(0%, 27.1%, 23.5%, 34.9%) |
| CIE-LAB | lab(55.40, 18.47, 3.67) |
| CIE-LCH | lch(55.40, 18.83, 11.23°) |
| OKLab | oklab(62.25% 0.056 0.0099) |
| OKLCH | oklch(62.25% 0.057 10) |
| XYZ | xyz(26.3944, 23.3154, 23.1846) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.80
Reddish Grey
#997570
ΔE00 6.03
Dusty Rose
#C0737A
ΔE00 6.95
Rosybrown
#BC8F8F
ΔE00 7.67
Old Pink
#C77986
ΔE00 7.69
Old Rose
#C87F89
ΔE00 7.70
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 |
|---|---|---|---|---|
| ##A6797F | 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)
#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